Share via


CMFCRibbonComboBox::GetItemData

Returns the data associated with an item at a specified index in the list box.

DWORD_PTR GetItemData(
   int iIndex 
) const;

Parameters

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

Return Value

The data associated with the item; or 0 if the item does not exist, or if the index parameter is -1 and there is no selected item in the list box.

Requirements

Header: afxribboncombobox.h

See Also

Reference

CMFCRibbonComboBox Class

Hierarchy Chart