Looks for a combo box button with the given command ID and gets the string associated with the specified item a combo box.
- Returns
- A const pointer to the item's string. It can be NULL.
This function searches for a combo box button with the specified command ID and retrieves a string associated with the specified item. If iIndex is -1, it retrieves a string associated with the currently selected item. It returns NULL either if uiCmd does not specify a valid command ID or if iIndex does not specify a valid index.
- Parameters
-
uiCmd | Specifies the button's command ID to look for. |
iIndex | Contains the zero-based index of an item in the combo box's list box. |