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


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.

Требования

Header: afxctl.h

См. также

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

COleControl Class

COleControl Members

Hierarchy Chart

COleControl::GetFont

COleControl::SetFont