共用方式為


COleControl::GetBackColor

Implements the Get function of your control's stock BackColor property.

OLE_COLOR GetBackColor( );

Return Value

The return value specifies the current background 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::AmbientBackColor

COleControl::TranslateColor

COleControl::SetBackColor

COleControl::GetForeColor