CMFCRibbonBar::SetMaximizeMode
TOC
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.

Requirements

Header: afxribbonbar.h

Show:
© 2016 Microsoft