COleControl::AmbientFont
TOC
Collapse the table of content
Expand the table of content

COleControl::AmbientFont

 

Returns the value of the ambient Font property.


LPFONTDISP AmbientFont( );

A pointer to the container's ambient Font dispatch interface. The default value is NULL. If the return is not equal to NULL, you are responsible for releasing the font by calling its IUnknown::Release member function.

The ambient Font property is defined by the container and available to all controls.Note that the container is not required to support this property.

Requirements

Header: afxctl.h

Show:
© 2016 Microsoft