BCGControlBar Pro for MFC
int CBCGPToolbarComboBoxButton::FindItemData ( DWORD_PTR  dwData) const

Looks for an item with specified data 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 data specified by dwData.

Parameters
dwDataSpecifies the data to look for.