共用方式為


CMFCRibbonBar::ShowContextCategories

Shows or hides the context categories that have the specified ID.

void ShowContextCategories(
   UINT uiContextID,
   BOOL bShow=TRUE 
);

Parameters

  • [in] uiContextID
    The context category ID.

  • [in] bShow
    If TRUE, show the categories that have the specified ID; otherwise, hide the categories that have the specified ID.

Requirements

Header: afxribbonbar.h

See Also

Reference

CMFCRibbonBar Class

Hierarchy Chart