Looks for a combo box button with the given command ID and retrieves the value associated with the specified item in a combo box as a pointer.
- Returns
- Retrieves a pointer, or -1 if an error occurs, or NULL if uiCmd does not specify a valid command ID.
This function searches for a combo box button with the uiCmd command ID and retrieves the application-supplied value associated with the specified combo-box item as a pointer (void*).
- 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. |