CWnd::OnAmbientProperty

The framework calls this member function to obtain ambient property values from a window that contains ActiveX controls. Override this function to alter the default ambient property values returned by an ActiveX control container to its controls. Any ambient property requests not handled by an overriding function should be forwarded to the base class implementation.

Syntax

BOOL OnAmbientProperty( COleControlSite* pSite, DISPID dispid, VARIANT* pvar )

At a Glance

Header File Afxwin.h
Platforms
Versions 2.0 and later
Complete documentation Visual C++ documentation

See Also

CWnd Overview, CWnd Member Functions, Window Class Categories