Поделиться через


CWindow::SetFont

Changes the window's current font by sending a WM_SETFONT message to the window.

void SetFont(
   HFONT hFont,
   BOOL bRedraw = TRUE 
) throw();

Параметры

  • hFont
    [in] The handle to the new font.

  • bRedraw
    [in] If TRUE (the default value), the window is redrawn. Otherwise, it is not.

Требования

Header: atlwin.h

См. также

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

CWindow Class

CWindow Members

CWindow::GetFont