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


COleControl::AmbientForeColor

Returns the value of the ambient ForeColor property.

OLE_COLOR AmbientForeColor( );

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

The current value of the container's ambient ForeColor property, if any. If not supported, this function returns the system-defined Windows text color.

Заметки

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

Требования

Header: afxctl.h

См. также

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

COleControl Class

COleControl Members

Hierarchy Chart

COleControl::AmbientBackColor

COleControl::GetForeColor

COleControl::TranslateColor