共用方式為


CMFCRibbonFontComboBox::RebuildFonts

Populates the combo box on the ribbon with fonts of a previously specified font type, character set, and pitch and family.

void RebuildFonts();

Remarks

You can specify the font type, character set, and pitch and family of the fonts to include in the ribbon font combo box in the constructor for this class, or by calling CMFCRibbonFontComboBox::BuildFonts.

Requirements

Header: afxRibbonComboBox.h

See Also

Reference

CMFCRibbonFontComboBox Class

Hierarchy Chart