BCGControlBar Pro for MFC
int CBCGPRibbonBar::FindCategoryIndexByData ( DWORD_PTR  dwData) const

Returns category index by user-defined data associated with category.

Parameters
dwDataSpecifies the user-defined data to search by.