Export (0) Print
Expand All
Expand Minimize

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.

Remarks

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

See Also

CWnd Overview | Class Members | Hierarchy Chart | CWnd::GetFont | WM_SETFONT

Show:
© 2014 Microsoft