Export (0) Print
Expand All
MFC
TRY
Expand Minimize
This topic has not yet been rated - Rate this topic

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.

Header: afxdisp.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.