Partager via


COleControl::GetForeColor

Implements the Get function of the stock ForeColor property.

OLE_COLOR GetForeColor( );

Return Value

The return value specifies the current foreground color as a OLE_COLOR value, if successful. This value can be translated to a COLORREF value with a call to TranslateColor.

Requirements

Header: afxctl.h

See Also

Concepts

COleControl Class

COleControl Members

Hierarchy Chart

COleControl::AmbientForeColor

COleControl::TranslateColor

COleControl::GetBackColor

COleControl::SetForeColor