This documentation is archived and is not being maintained.

CWnd::SetFont 

Sets the window's current font to the specified font.


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

Parameters

pFont

Specifies the new font.

bRedraw

If TRUE, redraw the CWnd object.

If bRedraw is TRUE, the window will also be redrawn.

Show: