How to set MDIChildFrame title case different view?
-
The Child Windows of MFC use the title of the associated document as the title of the window frame (automatically). To change the title of the window frame, all you need to do is change that in the document using :
pDoc->SetTitle(WHATEVER_YOU_WANT);
and you should notice that the title in the window frame has been automatically updated to reflect this. P.S. make sure you get the active document (pDoc) by using the GetActiveDocument() member function of the CHILD frame or view. "When I left you I was but the learner, now I am the Master" - Darth Vader:mad:
-
The Child Windows of MFC use the title of the associated document as the title of the window frame (automatically). To change the title of the window frame, all you need to do is change that in the document using :
pDoc->SetTitle(WHATEVER_YOU_WANT);
and you should notice that the title in the window frame has been automatically updated to reflect this. P.S. make sure you get the active document (pDoc) by using the GetActiveDocument() member function of the CHILD frame or view. "When I left you I was but the learner, now I am the Master" - Darth Vader:mad: