OnFileNew: Maximize child window
-
Hi, when i create a new document the new child window is shown in its original size; i want to resize it to its maximum. How can i do that? My problem is that i don't know how to get access to the new child window. I have tried to resize all available views in CDocument::OnNewDocument() with ShowWindow(...), but this didn't work. Any help? Thanks, Chris
-
Hi, when i create a new document the new child window is shown in its original size; i want to resize it to its maximum. How can i do that? My problem is that i don't know how to get access to the new child window. I have tried to resize all available views in CDocument::OnNewDocument() with ShowWindow(...), but this didn't work. Any help? Thanks, Chris
Look at www.codeproject.com/useritems/centermdiwnd.asp, there should be a answer.
-
Hi, when i create a new document the new child window is shown in its original size; i want to resize it to its maximum. How can i do that? My problem is that i don't know how to get access to the new child window. I have tried to resize all available views in CDocument::OnNewDocument() with ShowWindow(...), but this didn't work. Any help? Thanks, Chris