COleControl::SelectFontObject
Selects a font into a device context.
CFont* SelectFontObject(
CDC* pDC,
CFontHolder& fontHolder
);
Параметры
pDC
Pointer to a device context object.fontHolder
Reference to the CFontHolder object representing the font to be selected.
Возвращаемое значение
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.
Требования
Header: afxctl.h