COleControl::SelectFontObject

CFont* SelectFontObject( CDC* pDC, CFontHolder& fontHolder );

Return Value

A pointer to the previously selected font. When the caller has finished all drawing operations that use fontHolder, it should reselect the previously selected font by passing it as a parameter to CDC::SelectObject.

Parameters

pDC

Pointer to a device context object.

fontHolder

Reference to the CFontHolder object representing the font to be selected.

Remarks

Call this function to select a font into a device context.

COleControl OverviewClass MembersHierarchy Chart