This member function maps an IDispatch pointer, received from automation member functions of a class, into the CCmdTarget object that implements the interfaces of the IDispatch object.
static CCmdTarget* FromIDispatch( LPDISPATCH lpDispatch );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CCmdTarget Overview, CCmdTarget Member Functions, Application Architecture Classes, CCmdTarget::GetIDispatch, COleDispatchDriver