CWindow::SetFont

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

At a Glance

Header file: Atlwin.h
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

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

See Also

CWindow::GetFont