This method maps an IDispatch pointer, received from Automation methods of a class, into the CCmdTarget object that implements the interfaces of the IDispatch object.
Header file: | Afxwin.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
static CCmdTarget* FromIDispatch( LPDISPATCH lpDispatch );
CCmdTarget::GetIDispatch, COleDispatchDriver