CComboBox::FindStringExact

This method 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.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

int FindStringExact( int nIndexStart, LPCTSTR lpszFind ) const;

See Also

CComboBox::FindString