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 string associated with an item at a specified index in the list box.
LPCTSTR GetItem(
int iIndex=-1
) const;
Parameters
- [in] iIndex
Zero-based index of an item in the list box.
Return Value
A pointer to the string that is associated with the item; otherwise, NULL if the index parameter is invalid, or if the index parameter is -1 and there is no selected item in the combo box.
Remarks
An index parameter of -1 returns the string of the item that is currently selected.
Requirements
Header: afxtoolbarcomboboxbutton.h