CWindow::SetFont

void SetFont( HFONT hFont, BOOL bRedraw = TRUE );

Parameters

hFont

[in] The handle to the new font.

bRedraw

[in] If TRUE (the default value), the window is redrawn. Otherwise, it is not.

Remarks

Changes the window’s current font by sending a WM_SETFONT message to the window.

CWindow OverviewClass Members

See Also   CWindow::GetFont