CComboBox::FindStringExact

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.

Syntax

int FindStringExact( int nIndexStart, LPCTSTR lpszFind ) const;

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CComboBox Overview, CComboBox Member Functions, Control Classes, CComboBox::FindString