CFontDialog::IsUnderline

BOOL IsUnderline( ) const;

Return Value

Nonzero if the selected font has the Underline characteristic enabled; otherwise 0.

Remarks

Call this function to determine if the selected font is underlined.

Example

// Is the selected font underlined?
CFontDialog dlg;
if (dlg.DoModal() == IDOK)
{
   BOOL underline = dlg.IsUnderline();
   TRACE("Is the selected font underlined? %d\n", underline);
}

CFontDialog OverviewClass MembersHierarchy Chart

See Also   CFontDialog::GetCurrentFont