CFontHolder::SetFont

Call this member function to release any existing font and connect the CFontHolder object to an IFont interface.

Syntax

void SetFont( LPFONT pNewFont );

At a Glance

Header file: Afxctl.h
Platforms:
Versions: 2.0 and later
Complete documentation: Visual C++ documentation

See Also

CFontHolder Overview, CFontHolder Member Functions, ActiveX Type Wrappers, CFontHolder::ReleaseFont