共用方式為


CMFCRibbonBar::ActivateContextCategory

Activates a context category that is already visible.

BOOL ActivateContextCategory(
   UINT uiContextID 
);

Parameters

  • [in] uiContextID
    The context category ID.

Return Value

TRUE if a context category with uiContextID is found and activated; otherwise FALSE.

Requirements

Header: afxribbonbar.h

See Also

Reference

CMFCRibbonBar Class

Hierarchy Chart