This member function finds the first string in the list-box portion of a combo box that matches the string specified in lpszFind.
If the combo box was created with an owner-draw style but without the CBS_HASSTRINGS style, FindStringExact attempts to match the doubleword value against the value of lpszFind.
int FindStringExact( int nIndexStart, LPCTSTR lpszFind ) const;
| Header File | Afxwin.h |
| Platforms | |
| Versions | 1.0 and later |
| Complete documentation | Visual C++ documentation |
CComboBox Overview, CComboBox Member Functions, Control Classes, CComboBox::FindString