BCGControlBar Pro for MFC
CBCGPToolbarComboBoxButton::CBCGPToolbarComboBoxButton ( UINT  uiID,
int  iImage,
DWORD  dwStyle = CBS_DROPDOWNLIST,
int  iWidth = 0 
)

Constructs a CBCGPToolbarComboBoxButton.

The object has no combo box window meanwhile.

When a combo box button is placed on a toolbar, it receives OnChangeParentWnd() notification, creates the Windows combo box control and attaches it to the CBCGPToolbarComboBoxButton object.

Parameters
uiIDSpecifies the button's command ID.
iImageSpecifies the index of the button's image. This index in the collection of toolbar images.
dwStyleThe button's style.
iWidthThe button's width.