BCGControlBar Pro for MFC
int CBCGPRibbonComboBox::FindItem ( LPCTSTR  lpszText) const

Finds item in combo box and retuns 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.