CMFCRibbonComboBox::CMFCRibbonComboBox
The document is archived and information here might be outdated

CMFCRibbonComboBox::CMFCRibbonComboBox

Constructs a CMFCRibbonComboBox object.

public:
CMFCRibbonComboBox(
   UINT nID,
   BOOL bHasEditBox=TRUE,
   Int nWidth=-1,
   LPCTSTR lpszLabel=NULL,
   Int nImage=-1
);
protected:
CMFCRibbonComboBox();

[in] nID

The ID of the combo box.

[in] bHasEditBox

TRUE if you want an edit box within the control; FALSE otherwise.

[in] nWidth

Width of the combo box in pixels; or -1 for the default width.

[in] lpszLabel

The display label of the combo box.

[in] nImage

The small image index of the combo box.

The default width is 108 pixels.

Header: afxribboncombobox.h

Show:
© 2016 Microsoft