Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CWnd::SetFont
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
 
 
                                     -♦-