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


COleControl::GetForeColor

Implements the Get function of the stock ForeColor property.

OLE_COLOR GetForeColor( );

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

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.

Требования

Header: afxctl.h

См. также

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

COleControl Class

COleControl Members

Hierarchy Chart

COleControl::AmbientForeColor

COleControl::TranslateColor

COleControl::GetBackColor

COleControl::SetForeColor