BOOL IsBold( ) const;
Return Value
Nonzero if the selected font has the Bold characteristic enabled; otherwise 0.
Remarks
Call this function to determine if the selected font is bold.
Example
// Is the selected font bold?
CFontDialog dlg;
if (dlg.DoModal() == IDOK)
{
BOOL bold = dlg.IsBold();
TRACE("Is the selected font bold? %d\n", bold);
}
CFontDialog Overview | Class Members | Hierarchy Chart
See Also CFontDialog::GetCurrentFont