Partilhar via


CMFCToolBarComboBoxButton::CMFCToolBarComboBoxButton

Constructs a CMFCToolBarComboBoxButton Class object.

CMFCToolBarComboBoxButton(
   UINT uiID,
   int iImage,
   DWORD dwStyle=CBS_DROPDOWNLIST,
   int iWidth=0 
);

Parameters

  • [in] uiID
    The command ID of the new button.

  • [in] iImage
    The image index of the image associated with the new button.

  • [in] dwStyle
    The style of the new button.

  • [in] iWidth
    The width, in pixels, of the new button.

Remarks

The default width is 150 pixels.

For a list of toolbar button styles see ToolBar Control Styles

Requirements

Header: afxtoolbarcomboboxbutton.h

See Also

Reference

CMFCToolBarComboBoxButton Class

Hierarchy Chart