CFontHolder::Select

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

Return Value

A pointer to the font that is being replaced.

Parameters

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.

Remarks

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

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

CFontHolder OverviewClass MembersHierarchy Chart