CFont::FromHandle

Call this member function to obtain a pointer to a CFont object when you have an HFONT handle to a Windows GDI font object.

Syntax

static CFont* PASCAL FromHandle( HFONT hFont );

At a Glance

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

See Also

CFont Overview, CFont Member Functions, Graphical Drawing Object Classes