Condividi tramite


COleControl::SetForeColor

Sets the stock ForeColor property value of your control.

void SetForeColor(
   OLE_COLOR dwForeColor 
);

Parameters

  • dwForeColor
    An OLE_COLOR value to be used for foreground 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::SetBackColor

COleControl::GetForeColor

COleControl::OnForeColorChanged

Other Resources

COleControl Members