We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.


Declares the definition of your dispatch map.

BEGIN_DISPATCH_MAP(theClass, baseClass )


Specifies the name of the class that owns this dispatch map.


Specifies the base class name of theClass.

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.

Header: afxdisp.h