Returns the index of the first item in the list box that contains a specified string.
int FindItem(
   LPCTSTR lpszText 
) const;
Parameters
- [in] lpszText
 The text for which to search in the list box.
Return Value
The index of the item; or CB_ERR if the item is not found.
Requirements
Header: afxtoolbarcomboboxbutton.h