CFontDialog::GetStyleName
CStringGetStyleName()const;
Return Value
The style name of the font.
Remarks
Call this function to retrieve the style name of the selected font.
Example
// Get the style name of the selected font, if any.
CFontDialog dlg;
if (dlg.DoModal() == IDOK)
{
CString stylename = dlg.GetStyleName();
TRACE("Style name of the selected font = %s\n", stylename);
}
CFontDialog Overview | Class Members | Hierarchy Chart
See Also CFontDialog::GetFaceName, CFontDialog::GetCurrentFont