CComControl::GetAmbientForeColor

HRESULT GetAmbientForeColor( OLE_COLOR& ForeColor );

Return Value

One of the standard HRESULT values.

Parameters

ForeColor

[out] The property DISPID_AMBIENT_FORECOLOR.

Remarks

Retrieves DISPID_AMBIENT_FORECOLOR, the ambient foreground color for all controls, defined by the container.

CComControl OverviewClass Members

See Also   GetAmbient Property Methods