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


IAxWinAmbientDispatch::put_ForeColor

The ForeColor property specifies the ambient foreground color of the container.

STDMETHOD( put_ForeColor )(
   OLE_COLOR clrForeground 
);

Параметры

  • clrForeground
    [in] The new value of this property.

Возвращаемое значение

A standard HRESULT value.

Заметки

The ATL host object implementation uses the system window text color as the default value of this property.

Требования

Header: atliface.h

См. также

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

IAxWinAmbientDispatch Interface

IAxWinAmbientDispatch Members