Condividi tramite


COleControl::AmbientForeColor

Returns the value of the ambient ForeColor property.

OLE_COLOR AmbientForeColor( );

Return Value

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

Remarks

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.

Requirements

Header: afxctl.h

See Also

Reference

COleControl Class

Hierarchy Chart

COleControl::AmbientBackColor

COleControl::GetForeColor

COleControl::TranslateColor

Other Resources

COleControl Members