Compartilhar via


COleControl::SelectStockFont

Selects the stock Font property into a device context.

CFont* SelectStockFont(
   CDC* pDC 
);

Parameters

  • pDC
    The device context into which the font will be selected.

Return Value

A pointer to the previously selected CFont object. You should use CDC::SelectObject to select this font back into the device context when you are finished.

Requirements

Header: afxctl.h

See Also

Reference

COleControl Class

Hierarchy Chart

COleControl::GetFont

COleControl::SetFont

Other Resources

COleControl Members