Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CMFCRibbonBar::SetMaximizeMode
Collapse the table of content
Expand the table of content

CMFCRibbonBar::SetMaximizeMode

Adjusts the ribbon bar when the window size of a multiple-document interface (MDI) child window enters or leaves the maximized state.

void SetMaximizeMode(
   BOOL bMax,
   CWnd* pWnd = NULL
);

[in] bMax

TRUE to display the system buttons for an MDI child window on the ribbon bar; FALSE to remove the system buttons for an MDI child window from the ribbon bar.

[in] pWnd

Pointer to the main frame window for the ribbon bar.

The ribbon bar displays system buttons for an MDI child window in the tab row when an MDI child window is maximized.

Header: afxribbonbar.h

Show:
© 2015 Microsoft