CFontHolder::SetFont

This method releases any existing font and connect the CFontHolder object to an IFont interface.

At a Glance

Header file: Afxctl.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

void SetFont( LPFONT pNewFont );

See Also

CFontHolder::ReleaseFont