共用方式為


COleControl::SetBackColor

Sets the stock BackColor property value of your control.

void SetBackColor(
   OLE_COLOR dwBackColor 
);

Parameters

  • dwBackColor
    An OLE_COLOR value to be used for background drawing of your control.

Remarks

For more information on using this property and other related properties, see the article ActiveX Controls: Properties.

Requirements

Header: afxctl.h

See Also

Concepts

COleControl Class

COleControl Members

Hierarchy Chart

COleControl::SetForeColor

COleControl::GetBackColor

COleControl::OnBackColorChanged