Share via


CMDIFrameWnd::MDIMaximize

voidMDIMaximize(CWnd*pWnd);

Parameters

pWnd

Points to the window to maximize.

Remarks

Call this member function to maximize the specified MDI child window. 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.

Example

See the example for CMDIChildWnd::MDIMaximize.

CMDIFrameWnd OverviewClass MembersHierarchy Chart

See Also   , CMDIFrameWnd::MDIRestore