CWnd::SetFont

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

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

Параметры

  • pFont
    Specifies the new font.

  • bRedraw
    If TRUE, redraw the CWnd object.

Заметки

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

Требования

Header: afxwin.h

См. также

Основные понятия

CWnd Class

CWnd Members

Hierarchy Chart

CWnd::GetFont

WM_SETFONT