
How to change the title of the main window?
I put SetWindowText (_T("Application title") ) in CMainFrame::OnCreate()
and it works.
in addtions, you can modify the titles below:
//Set title for application's main frame window .
AfxGetMainWnd ( ) -> SetWindowText (_T("Application title") );
//Set title for View's MDI child frame window .
GetParentFrame ( ) -> SetWindowText ("_T ("MDI Child Frame new title") );
Justin
This posting is provided "AS IS" with no warranties, and confers no rights.