BEGIN_DISPATCH_MAP( theClass, baseClass )
#include <afxdisp.h>
Parameters
theClass
Specifies the name of the class that owns this dispatch map.
baseClass
Specifies the base class name of theClass.
Remarks
Use the BEGIN_DISPATCH_MAP macro to declare the definition of your dispatch map.
In the implementation (.CPP) file that defines the member functions for your class, start the dispatch map with the BEGIN_DISPATCH_MAP macro, add macro entries for each of your dispatch functions and properties, and complete the dispatch map with the END_DISPATCH_MAP macro.
See Also Dispatch Maps, DECLARE_DISPATCH_MAP, END_DISPATCH_MAP, DISP_FUNCTION, DISP_PROPERTY, DISP_PROPERTY_EX, DISP_DEFVALUE