LPCTSTR CBCGPToolbarComboBoxButton::GetItem | ( | int | iIndex = -1 | ) | const |
Gets the string associated with the specified item in a combo box.
Call this function to retrieve a string associated with the specified by iIndex item. If the iIndex parameter is -1, the GetItem function returns the string of the item that is currently selected.
This function returns NULL if iIndex does not specify a valid index, or if iIndex is -1 and there is no selected item in a combo box.
iIndex | Contains the zero-based index of an item in the combo box's list box. |