共用方式為


CMFCRibbonGallery::SetButtonMode

Determines whether to display the ribbon gallery as a drop-down button or as a palette directly on the ribbon.

void SetButtonMode(
    BOOL bSet=TRUE 
);

Parameters

  • [in] bSet
    TRUE to display the ribbon gallery as a drop-down menu button; FALSE to display the contents of the ribbon gallery directly on the ribbon.

Requirements

Header: afxRibbonPaletteGallery.h

See Also

Reference

CMFCRibbonGallery Class

Hierarchy Chart