Partager via


IAxWinAmbientDispatch::put_ForeColor

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

STDMETHOD( put_ForeColor )(
   OLE_COLOR clrForeground 
);

Parameters

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

Return Value

A standard HRESULT value.

Remarks

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

Requirements

Header: atliface.h

See Also

Concepts

IAxWinAmbientDispatch Interface

IAxWinAmbientDispatch Members