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.
Call this function to determine if the selected font is bold.
BOOL IsBold( ) const;
Return Value
Nonzero if the selected font has the Bold characteristic enabled; otherwise 0.
Example
// Is the selected font bold?
CFontDialog dlg;
if (dlg.DoModal() == IDOK)
{
BOOL bold = dlg.IsBold();
TRACE(_T("Is the selected font bold? %d\n"), bold);
}
Requirements
Header: afxdlgs.h