Freigeben über


CMFCRibbonBar::GetCategoryIndex

Retrieves the index of the specified ribbon category.

int GetCategoryIndex(
   CMFCRibbonCategory* pCategory 
) const;

Parameters

  • [in] pCategory
    Pointer to a ribbon category.

Return Value

The zero-based index of a ribbon category specified by pCategory; or -1 if the ribbon category is not found.

Requirements

Header: afxribbonbar.h

See Also

Reference

CMFCRibbonBar Class

Hierarchy Chart