CFontHolder::m_pFont

This data member contains a pointer to the CFontHolder object's 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

LPFONT m_pFont;

Because Windows CE does not support the OleCreateFontIndirect function, MFC for Windows CE only supports the following IFont interfaces:

The Windows CE implementation of the IPersistPropertyBag interface is different than the Windows-based desktop implementation. As a result, do not use the desktop OleCreateFontIndirect function to save a font that you will load into a MFC for Windows CE control.

See Also

CFontHolder::SetFont