Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Implements a non-clickable text label for a ribbon.
class CMFCRibbonLabel : public CMFCRibbonButton
Members
Public Constructors
| Name | Description | 
|---|---|
| Constructs and initializes a CMFCRibbonLabel object with the specified text string. | |
| CMFCRibbonLabel::~CMFCRibbonLabel | Destructor. | 
Public Methods
| Name | Description | 
|---|---|
| CMFCRibbonLabel::CreateObject | Used by the framework to create a dynamic instance of this class type. | 
| CMFCRibbonLabel::GetThisClass | Used by the framework to obtain a pointer to the CRuntimeClass object that is associated with this class type. | 
| Determines the accessibility data for the current ribbon label element. (Overrides CMFCRibbonButton::SetACCData.) | 
Remarks
After you create a ribbon label, add it to a panel by calling CMFCRibbonPanel::Add.
You cannot add a ribbon label to the Quick Access Toolbar.
Inheritance Hierarchy
Requirements
Header: afxRibbonLabel.h