CCmdTarget::FromIDispatch

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.

Syntax

static CCmdTarget* FromIDispatch( LPDISPATCH lpDispatch );

At a Glance

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

See Also

CCmdTarget Overview, CCmdTarget Member Functions, Application Architecture Classes, CCmdTarget::GetIDispatch, COleDispatchDriver