CComControlBase::m_spAmbientDispatch
A CComDispatchDriver object that lets you retrieve and set an object's properties through an IDispatch pointer. For more information, see Implementing the IDispatch Interface
CComDispatchDriver m_spAmbientDispatch;
Remarks
Note
To use this data member within your control class, you must declare it as a data member in your control class. Your control class will not inherit this data member from the base class because it is declared within a union in the base class.
Requirements
Header: atlctl.h