IAxWinAmbientDispatch::get_ForeColor

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

STDMETHOD( get_ForeColor )(
   OLE_COLOR* pclrForeground 
);

Parameters

  • pclrForeground
    [out] The address of a variable to receive the current 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