共用方式為


CMFCRibbonBar::HideAllContextCategories

Hides all the context categories on the ribbon bar.

BOOL HideAllContextCategories();

Return Value

TRUE if at least one context category was hidden; otherwise, FALSE.

Remarks

If a context category is active, the active category is reset to the first visible category in the category list.

Requirements

Header: afxribbonbar.h

See Also

Reference

CMFCRibbonBar Class

Hierarchy Chart