CWnd::SetFont

Syntax

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

Parameters

pFont

Specifies the new font.

bRedraw

If TRUE, redraw the CWnd; otherwise FALSE.

Remarks

Sets the CWnd current font to CFont. If bRedraw is TRUE, CWnd will also be redrawn.

See Also

CWnd::GetFont, WM_SETFONT