HOWTO: How to Create a Minimized/Maximized MDI Child Window (142317)
The information in this article applies to:
- The Microsoft Foundation Classes (MFC), when used with:
- Microsoft Visual C++ for Windows, 16-bit edition 1.0
- Microsoft Visual C++ for Windows, 16-bit edition 1.5
- Microsoft Visual C++ for Windows, 16-bit edition 1.51
- Microsoft Visual C++ for Windows, 16-bit edition 1.52
- Microsoft Visual C++, 32-bit Editions 1.0
- Microsoft Visual C++, 32-bit Editions 2.0
- Microsoft Visual C++, 32-bit Editions 2.1
- Microsoft Visual C++, 32-bit Editions 2.2
- Microsoft Visual C++, 32-bit Editions 4.0
This article was previously published under Q142317 SUMMARY
To create an initially minimized or maximized document in an MDI
application, derive a class from CMDIChildWnd and override ActivateFrame().
In the ActivateFrame() member function, call the ActivateFrame() function
in the base class, and pass SW_SHOWMINIMIZED or SW_SHOWMAXIMIZED as the
parameter.
Modification Type: | Major | Last Reviewed: | 12/2/2003 |
---|
Keywords: | kbDocView kbhowto KbUIDesign KB142317 |
---|
|