BOOL CBCGPToolbarComboBoxButton::SelectItem | ( | int | iIndex, |
BOOL | bNotify = TRUE |
||
) |
Searches the list of items of a combo box button and selects one of them according to the specified index.
Searches for an item in the list box of a combo box by index, and if the item is found, selects it in the list box and copies its text to the edit control.
If bNotify is TRUE, then the combo box button sends to itself the CB_SELENDOK notification.
iIndex | Contains the zero-based index of an item to select in the combo box's list box. |
bNotify | Specifies whether to notify the combo box button control about selection (TRUE) or not (FALSE). |