BCGControlBar Pro for MFC
static BOOL CBCGPToolbarComboBoxButton::SelectItemAll ( UINT  uiCmd,
int  iIndex 

Looks for a combo box button with the given command ID and select one of a combo box items according to the specified index.

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.

uiCmdSpecifies the button's command ID to look for.
iIndexSpecifies 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.