Share via


CFont::CFont

Constructs a CFont object.

CFont( );

Remarks

The resulting object must be initialized with CreateFont, CreateFontIndirect, CreatePointFont, or CreatePointFontIndirect before it can be used.

Example

CFont font;

Requirements

Header: afxwin.h

See Also

Reference

CFont Class

Hierarchy Chart

CFont::CreateFontIndirect

CFont::CreateFont

CFont::CreatePointFont

CFont::CreatePointFontIndirect

EnumFonts