Click here to Skip to main content
15,881,092 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hi,

I want to change the default title of my project.

In Dialog based application we are using the SetWindowText in initdialog member function for setting the title how can i do it in SDI application.


Can Anyone help me.


Thank you
Posted

Take a look here where several options are suggested...

http://www.codeproject.com/Messages/3479162/Changing-window-title-in-SDI-MDI.aspx[^]

A small google search would have done it...
 
Share this answer
 
 
Share this answer
 
SetWindowText() works with any CWnd derived class (just like CDialog), so you just have to figure out the appropriate place to make the call (whenever the new document is being loaded) and make the call to the documents frame window (I think in SDI there's only one frame).
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900