CWindow::SetFont

This method changes the window's current font by sending a WM_SETFONT message to the window.

Syntax

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

At a Glance

Header file: Atlwin.h
Platforms:
Versions: Version 2.0 and later
Complete documentation: Visual C++ documentation

See Also

CWindow Overview, CWindow Methods, CWindow::GetFont