Call this member function to release any existing font and connect the CFontHolder object to an IFont interface.
void SetFont( LPFONT pNewFont );
Header file: | Afxctl.h |
Platforms: | |
Versions: | 2.0 and later |
Complete documentation: | Visual C++ documentation |
CFontHolder Overview, CFontHolder Member Functions, ActiveX Type Wrappers, CFontHolder::ReleaseFont