◄CWnd► ◄Up► ◄Contents► ◄Index► ◄Back► ──Microsoft Foundation Classes────────────────────────────────────────────── void SetFont(CFont* pFont, BOOL bRedraw = TRUE); Parameter Description <pFont> Specifies the new font. <bRedraw> If TRUE, redraw the CWnd; otherwise FALSE. Remarks Sets the CWnd current font to CFont. If <bRedraw> is TRUE, CWnd will also be redrawn. See Also ◄CWnd::GetFont►, ◄WM_SETFONT► -♦-