COleControl::SetBackColor

void SetBackColor( OLE_COLOR dwBackColor );

Parameters

dwBackColor

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

Remarks

Call this function to set the stock BackColor property value of your control. For more information on using this property and other related properties, see Adding a Custom Notification Property in the Circle Sample Tutorial in Visual C++ Tutorials and the article ActiveX Controls: Properties in Visual C++ Programmer’s Guide.

COleControl OverviewClass MembersHierarchy Chart

See Also   COleControl::SetForeColor, COleControl::GetBackColor, COleControl::OnBackColorChanged