BCGControlBar Pro for MFC
static BOOL CBCGPToolbarComboBoxButton::SelectItemAll ( UINT  uiCmd,
DWORD_PTR  dwData 

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

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.
dwDataSpecifies the value. The list box is searched for this value and the item that was assigned this value is selected.