Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
Members
Public Constructors
Name |
Description |
|---|---|
The constructor. |
Public Methods
Name |
Description |
|---|---|
(Overrides CMFCRibbonButton::GetCompactSize.) |
|
(Overrides CMFCRibbonButton::GetIntermediateSize.) |
|
(Overrides CMFCRibbonButton::GetRegularSize.) |
|
(Overrides CMFCRibbonButton::IsDrawTooltipImage.) |
|
(Overrides CMFCRibbonButton::OnDraw.) |
|
(Overrides CMFCRibbonBaseElement::OnDrawMenuImage.) |
|
(Overrides CMFCRibbonButton::OnDrawOnList.) |
|
(Overrides CMFCRibbonButton::SetACCData.) |
Remarks
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.
Inheritance Hierarchy
Requirements
Header: afxribboncheckbox.h