The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.



Maximizes the specified MDI child window.

      void MDIMaximize(
   CWnd* pWnd 


Points to the window to maximize.

When a child window is maximized, Windows resizes it to make its client area fill the client window. Windows places the child window's Control menu in the frame's menu bar so the user can restore or close the child window. It also adds the title of the child window to the frame-window title.

If another MDI child window is activated when the currently active MDI child window is maximized, Windows restores the currently active child and maximizes the newly activated child window.


See the example for CMDIChildWnd::MDIMaximize.


Header: afxwin.h