Looks for a combo box button with the given command ID and select one of a combo box items according to the specified index.
- Returns
- Nonzero if a combo box button with a given command ID was found; otherwise 0.
This function looks for a combo box button with the specified command ID, and if the button is found, it calls SelectItem() with bNotify set to TRUE.
- Parameters
-
uiCmd | Specifies the button's command ID to look for. |
iIndex | Specifies the zero-based index of the item to select. If -1, any current selection in the list box is removed and the edit control is cleared. |