CMFCRibbonCheckBox::CMFCRibbonCheckBox

Constructor of a ribbon check box object

CMFCRibbonCheckBox(
   UINT nID,
   LPCTSTR lpszText 
);

Parameters

  • [in] nID
    Specifies command ID.

  • [in] lpszText
    Specifies text label.

Return Value

Constructs a ribbon check box object.

Example

The following example demonstrates how to construct an object of the CMFCRibbonCheckBox class.

    strTemp.LoadString(IDS_RIBBON_STATUSBAR);
    CMFCRibbonButton* pBtnStatusBar = new CMFCRibbonCheckBox(ID_VIEW_STATUS_BAR, strTemp);

Requirements

Header: afxribboncheckbox.h

See Also

Reference

CMFCRibbonCheckBox Class

Hierarchy Chart