BOOL CBCGPToolbarFontCombo::SetFont | ( | LPCTSTR | lpszName, |
BYTE | nCharSet = DEFAULT_CHARSET , |
||
BOOL | bExact = FALSE |
||
) |
Selects a font in the font combo according to the font name and character set.
If bExact is TRUE the font is selected only according to the specified name; otherwise it is selected according to the specified prefix of any font name in the combo and the character set either corresponds to the font's character set or nCharSet specifies DEFAULT_CHARSET.
lpszName | Specifies the font name or prefix. |
nCharSet | Specifies the character set. |
bExact | TRUE - lpszName specifies the font name; FALSE - lpszName specifies the font prefix. |