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


CFontHolder::Select

Call this function to select your control's font into the specified device context.

CFont* Select(
   CDC* pDC,
   long cyLogical,
   long cyHimetric 
);

Параметры

  • pDC
    Device context into which the font is selected.

  • cyLogical
    Height, in logical units, of the rectangle in which the control is drawn.

  • cyHimetric
    Height, in MM_HIMETRIC units, of the control.

Возвращаемое значение

A pointer to the font that is being replaced.

Заметки

See GetFontHandle for a discussion of the cyLogical and cyHimetric parameters.

Требования

Header: afxctl.h

См. также

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

CFontHolder Class

CFontHolder Members

Hierarchy Chart