Looks for a combo box button with the given command ID and retrieves the index of the currently selected item, if any, in the list box of a combo box.
- Returns
- The zero-based index of the currently selected item in the list box of a combo box, or CB_ERR if no item is selected or no combo box button is found by the specified command ID.
This function looks for a combo box button with the given command ID and retrieves the index of the currently selected item, if any, in the list box of a combo box.
- Parameters
-
uiCmd | Specifies the button's command ID to look for. |