CMFCRibbonFontComboBox Class
Implements a combo box that contains a list of fonts. You place the combo box on a ribbon panel.
class CMFCRibbonFontComboBox : public CMFCRibbonComboBox
Members
Public Constructors
Name |
Description |
---|---|
CMFCRibbonFontComboBox::~CMFCRibbonFontComboBox |
Destructor. |
Protected Constructors
Name |
Description |
---|---|
Constructs and initializes a CMFCRibbonFontComboBox object. |
Public Methods
Name |
Description |
---|---|
Populates the ribbon font combo box with fonts of the specified font type, character set, and pitch and family. |
|
CMFCRibbonFontComboBox::CreateObject |
Used by the framework to create a dynamic instance of this class type. |
|
|
CMFCRibbonFontComboBox::GetThisClass |
Used by the framework to obtain a pointer to the CRuntimeClass object that is associated with this class type. |
Populates the ribbon font combo box with fonts of the previously specified font type, character set, and pitch and family. |
|
Selects the specified font in the combo box. |
Remarks
After you create a CMFCRibbonFontComboBox object, add it to a ribbon panel by calling CMFCRibbonPanel::Add.
Inheritance Hierarchy
Requirements
Header: afxRibbonComboBox.h