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


COleControl::GetFont

Implements the Get function of the stock Font property.

LPFONTDISP GetFont( );

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

A pointer to the font dispatch interface of the control's stock Font property.

Заметки

Note that the caller must release the object when finished. Within the implementation of the control, use InternalGetFont to access the control's stock Font object. For more information on using fonts in your control, see the article ActiveX Controls: Using Fonts in an ActiveX Control.

Требования

Header: afxctl.h

См. также

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

COleControl Class

COleControl Members

Hierarchy Chart

COleControl::SetFont

COleControl::AmbientFont

COleControl::InternalGetFont