MDI Frame Title
-
Hi, I have an MDI application, and the window title is shown as title - [filename] when a child is maximised. I want to be able to change this display to look like: filename - title MFC does this, but I can't seem to find how to do it in plain WinAPI or WTL. I've tried overriding WM_GETTEXT but I never get that message?! Any ideas? thanks, Simon. -- Simon Steele Programmers Notepad - http://www.pnotepad.org/
-
Hi, I have an MDI application, and the window title is shown as title - [filename] when a child is maximised. I want to be able to change this display to look like: filename - title MFC does this, but I can't seem to find how to do it in plain WinAPI or WTL. I've tried overriding WM_GETTEXT but I never get that message?! Any ideas? thanks, Simon. -- Simon Steele Programmers Notepad - http://www.pnotepad.org/
Hi in your view use code like this
GetDocument()->SetTitle(strTitel);
where strTitel is a CString variable containing the text to display. Of course, you also can set the title directly. G. Steudtel