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