Freigeben über


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
);

Parameters

  • [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.

Remarks

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

See Also

Reference

CMFCRibbonBar Class

Hierarchy Chart