다음을 통해 공유


CMFCRibbonComboBox::SelectItem

Selects an item in the list box.

BOOL SelectItem(
   int iIndex 
);
BOOL SelectItem(
   DWORD_PTR dwData 
);
BOOL SelectItem(
   LPCTSTR lpszText 
);

Parameters

  • [in] iIndex
    The zero-based index of an item in the list box.

  • [in] dwData
    The data associated with an item in the list box.

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

Return Value

TRUE if the method was successful; otherwise FALSE.

Requirements

Header: afxribboncombobox.h

See Also

Reference

CMFCRibbonComboBox Class

Hierarchy Chart