Looks for a combo box button with the given command ID and retrieves the value associated with the specified item in a combo box.
- Returns
- The value associated with the item, CB_ERR if uiCmd does not specify a valid command ID, or 0 if iIndex does not specify a valid index.
This function searches for a combo box button with the specified command ID and retrieves the value associated with the specified item in a combo box. If iIndex is -1 it returns the 32-bit value associated with the currently selected item
- 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. |