BCGControlBar Pro for MFC
int CBCGPRibbonBar::GetCategoryIndex ( CBCGPRibbonCategory pCategory) const

Returns category index.

Use this method to determine the zero-based index of a category specified by pCategory in the list of categories.

Parameters
pCategoryA pointer to a category.