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

© 2015 Microsoft