MDI Child Frame titlebar text in MainFrame titlebar
I am writing a MDI application using Visual C++ 6.0 under Windows 98 SE. The application has a few child frames under the main frame. In the CMainFrame::PreCreateWindow function, I set the CREATESTRUCT to include 'cs.style &= ~FWS_ADDTOTITLE' to remove the filenames from the MainFrame titlebar text.
When I maximize any of the child frames, the text of the child frame titlebar is added to the MainFrame titlebar text (ie App [child frame titlebar text]).
I would like to prevent the changing of the MainFrame titlebar text in the situation. I would perfer not to just call SetWindowText in the MainFrame after the maximize. I would like to be able to override some functionality to pervent the MainFrame titlebar text from changing.
Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.