BCGControlBar Pro for MFC
int CBCGPRibbonComboBox::FindItem ( LPCTSTR  lpszText,
BOOL  bTranslated = FALSE 
) const

Finds item in combo box and returns its index.

Returns
Zero-based index of item, or -1 if item is not found.

Use this function to retrieve index of item by item text.

Parameters
lpszTextSpecifies item text.
bTranslatedIf TRUE, the translated item name will be used for the item search.