Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the data associated with an item at a specific index in the list box of a combo box button that has a specific command ID.
static DWORD_PTR GetItemDataAll(
UINT uiCmd,
int iIndex=-1
);
Parameters
[in] uiCmd
The command ID of a combo box button.[in] iIndex
The zero-based index of an item in the list box.
Return Value
The data associated with the item if the method was successful; otherwise, 0 if the specified index is not valid, or CB_ERR if the combo box button is not found.
Remarks
An index parameter of -1 returns the data associated with the currently selected item.
Requirements
Header: afxtoolbarcomboboxbutton.h