CFont::operator HFONT

Use this operator to get the Windows GDI handle to the font attached to the CFont object.

Syntax

operator HFONT( ) const;

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CFont Overview, CFont Operators, Graphical Drawing Object Classes