Call this member function to obtain a pointer to a CFont object when you have an HFONT handle to a Windows GDI font object.
static CFont* PASCAL FromHandle( HFONT hFont );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CFont Overview, CFont Member Functions, Graphical Drawing Object Classes