CComControl::GetAmbientForeColor

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

Syntax

HRESULT GetAmbientForeColor( OLE_COLOR& ForeColor );

At a Glance

Header file: Atlctl.h
Platforms:
Versions: 2.0 and later
Complete documentation: Visual C++ documentation

See Also

CComControl Overview, CComControl Methods, GetAmbientLocaleId