Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

BEGIN_DISPATCH_MAP

 

Declares the definition of your dispatch map.


BEGIN_DISPATCH_MAP(
theClass
, 
baseClass )

theClass

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

baseClass

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.

Requirements

Header: afxdisp.h

Show: