void SetForeColor( OLE_COLOR dwForeColor );
Parameters
dwForeColor
An OLE_COLOR value to be used for foreground drawing of your control.
Remarks
Call this function to set the stock ForeColor 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 Overview | Class Members | Hierarchy Chart
See Also COleControl::SetBackColor, COleControl::GetForeColor, COleControl::OnForeColorChanged