Поделиться через


COleControl::SetForeColor

Sets the stock ForeColor property value of your control.

void SetForeColor(
   OLE_COLOR dwForeColor 
);

Параметры

  • dwForeColor
    An OLE_COLOR value to be used for foreground drawing of your control.

Заметки

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

Требования

Header: afxctl.h

См. также

Основные понятия

COleControl Class

COleControl Members

Hierarchy Chart

COleControl::SetBackColor

COleControl::GetForeColor

COleControl::OnForeColorChanged