Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


Retrieves the index of the specified ribbon category.

int GetCategoryIndex(
   CMFCRibbonCategory* pCategory 
) const;

[in] pCategory

Pointer to a ribbon category.

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

Header: afxribbonbar.h

© 2015 Microsoft