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.
Selects the specified font in the combo box.
BOOL SetFont(
LPCTSTR lpszName,
BYTE nCharSet = DEFAULT_CHARSET,
BOOL bExact = FALSE
);
Parameters
lpszName
Specifies the name of the font to select.nCharSet
Specifies the character set for the selected font.bExact
TRUE to specify that the character set must match when selecting a font; FALSE to specify that the character set can be ignored when selecting a font.
Return Value
Nonzero if the specified font was found and selected; otherwise, zero.
Requirements
Header: afxRibbonComboBox.h