This documentation is archived and is not being maintained.


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.