CWnd::SetFont

void SetFont( CFont* pFont, BOOL bRedraw = TRUE );

Parameters

pFont

Specifies the new font.

bRedraw

If TRUE, redraw the CWnd object.

Remarks

Sets the window’s current font to the specified font. If bRedraw is TRUE, the window will also be redrawn.

CWnd OverviewClass MembersHierarchy Chart

See Also   CWnd::GetFont, WM_SETFONT