BCGControlBar Pro for MFC
void CBCGPRibbonBar::SetMinimizeButtonOptions ( DWORD  nOptions,
BOOL  bRedraw = TRUE,
BOOL  bCheckAutoHideMode = TRUE 
)

Specifies the minimize button options.

Parameters
nOptionsThe combination of the following flags:
  • BCGPRIBBONBAR_MINIMIZEBUTTON_LAYOUT: add "Classic" and "Simplified" menu items.
  • BCGPRIBBONBAR_MINIMIZEBUTTON_SHOW_RIBBON: add "Full screen", "Show tabs only" and "Always show ribbon" menu items.
bRedrawTrue to redraw.
bCheckAutoHideModeIf this parameter is TRUE, the method checks the ribbon for auto-hide mode, and, if BCGPRIBBONBAR_MINIMIZEBUTTON_SHOW_RIBBON is not specified, the auto-hide mode is automatically closed.