Share via


CFontDialog::IsStrikeOut

BOOLIsStrikeOut()const;

Return Value

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

Remarks

Call this function to determine if the selected font is displayed with strikeout.

Example

// Is the selected font displayed with strikeout?
CFontDialog dlg;
if (dlg.DoModal() == IDOK)
{
   BOOL strikeout = dlg.IsStrikeOut();
   TRACE("Is the selected font displayed with strikeout? %d\n", strikeout);
}

CFontDialog OverviewClass MembersHierarchy Chart

See Also   CFontDialog::GetCurrentFont