This method retrieves DISPID_AMBIENT_FORECOLOR, the ambient foreground color for all controls, defined by the container.
HRESULT GetAmbientForeColor( OLE_COLOR& ForeColor );
Header file: | Atlctl.h |
Platforms: | |
Versions: | 2.0 and later |
Complete documentation: | Visual C++ documentation |
CComControl Overview, CComControl Methods, GetAmbientLocaleId