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

Looks for an item in the list box part of combo box.

Returns
Integer value specifying the index of found item in the combo box. It's CB_ERR if item was not found.

Use this function to retrieve an index of item with text specified by lpszText.

Parameters
lpszTextSpecifies the text to look for.