Condividi tramite


CMFCRibbonFontComboBox::BuildFonts

Populates the combo box on the ribbon with fonts.

void BuildFonts(
   int nFontType = DEVICE_FONTTYPE | RASTER_FONTTYPE | TRUETYPE_FONTTYPE,
   BYTE nCharSet = DEFAULT_CHARSET,
   BYTE nPitchAndFamily = DEFAULT_PITCH
);

Parameters

  • [in] nFontType
    Specifies the font type of the fonts to add.

  • [in] nCharSet
    Specifies the character set of the fonts to add.

  • [in] nPitchAndFamily
    Specifies the pitch and family of the fonts to add.

Requirements

Header: afxRibbonComboBox.h

See Also

Reference

CMFCRibbonFontComboBox Class

Hierarchy Chart