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.
BOOL OnAmbientProperty( COleControlSite* pSite, DISPID dispid, VARIANT* pvar )
Header File | Afxwin.h |
Platforms | |
Versions | 2.0 and later |
Complete documentation | Visual C++ documentation |
CWnd Overview, CWnd Member Functions, Window Class Categories