Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CMFCRibbonCheckBox Class

The CMFCRibbonCheckBox class implements a check box that you can add to a ribbon panel, Quick Access Toolbar, or popup menu.

class CMFCRibbonCheckBox : public CMFCRibbonButton

To use a CMFCRibbonCheckBox in your application, add the following constructor to your code:

CMFCRibbonCheckBox (UINT nID, LPCTSTR lpszText)

where nID is the check box command ID and lpszText is the text label of the check box.

You can add a check box to a ribbon panel by using CMFCRibbonPanel::Add.

Header: afxribboncheckbox.h

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft