COleControl::GetFont

LPFONTDISP GetFont( );

Return Value

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

Remarks

This function implements the Get function of the 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 in Visual C++ Programmer’s Guide.

COleControl OverviewClass MembersHierarchy Chart

See Also   COleControl::SetFont, COleControl::AmbientFont, COleControl::InternalGetFont