CComControl::GetAmbientForeColor

This method retrieves DISPID_AMBIENT_FORECOLOR, the ambient foreground color for all controls, defined by the container.

At a Glance

Header file: Atlctl.h
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

HRESULT GetAmbientForeColor( OLE_COLOR& ForeColor );

See Also

GetAmbientLocaleId