Change the name of MFC application
C / C++ / MFC
4
Posts
3
Posters
0
Views
1
Watching
-
In CMainFrame::PreCreateWindow add this. cs.style &= ~FWS_ADDTOTITLE ; This would remove the "untitled" string form the title and then you can use SetWindowText to show what you want.
Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_
-
If you wish to change the window title you can simply use SetWindowText. if you just want get rid of "untitled" then you have to change in initinstance to say cmdNothing explictly.