Partager via


CWnd::GetFont

Gets the current font for this window.

CFont* GetFont( ) const;

Return Value

A pointer to a CFont that contains the current font.

The pointer may be temporary and should not be stored for later use.

Requirements

Header: afxwin.h

See Also

Concepts

CWnd Class

CWnd Members

Hierarchy Chart

CWnd::SetFont

WM_GETFONT

CFont Class