다음을 통해 공유


CMFCRibbonComboBox::FindItem

Returns the index of the first item in the list box that matches a specified string.

int FindItem(
   LPCTSTR lpszText 
) const;

Parameters

  • [in] lpszText
    The string of an item in the list box.

Return Value

The zero-based index of the item; or -1 if the item is not found.

Requirements

Header: afxribboncombobox.h

See Also

Reference

CMFCRibbonComboBox Class

Hierarchy Chart