Control of an MDI app title bar
Posted on 1998-04-06
I'd like to manage the contents of my MDI app's title bar; I use SetWindowText to change it, however, as soon as I focus on another child window, the framework changes the titlebar back to the default app Name. I know I need to override a message, and I've tried, Set & KillFocus, EraseBkgd, and Paint, to no avail. How can I either a) prevent MFC from tampering with my app's title bar all together, or b) override the tampering to change to the text that I would like? The text is dynamic and changes with the state of the program.