PreCreateWindow / "PostCreateWindow"

  • Thread starter Thread starter sbrothy
  • Start date Start date
S

sbrothy

Guest
I have an MFC MDI docuument view architecture application.


I want to set the title based on some info in the view's connected document (Doesn't seem to me to be an outrageous request). But in any of the PreCreateWindow functions I reach, in CMDIChildWndEx or the actual view, the CDocument doesn't seem to be created yet. Even in the view OnInitialUpdate have I had any luck. And how to set the MDI child window's title if not in PrecreateWindow? Isn't that basically what it's for?


Regards,

Søren

Continue reading...
 
Back
Top