Dela via


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

Reference

COleControl Class

Hierarchy Chart

COleControl::SetForeColor

COleControl::GetBackColor

COleControl::OnBackColorChanged

Other Resources

COleControl Members