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.
uiID | Specifies the button's command ID. |
iImage | Specifies the index of the button's image. This index in the collection of toolbar images. |
dwStyle | The button's style. |
iWidth | The button's width. |