Compartir a través de


BEGIN_DISPATCH_MAP

Declares the definition of your dispatch map.

BEGIN_DISPATCH_MAP(theClass, baseClass )

Parameters

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

  • baseClass
    Specifies the base class name of theClass.

Remarks

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

See Also

Concepts

MFC Macros and Globals

Dispatch Maps

DECLARE_DISPATCH_MAP

END_DISPATCH_MAP

DISP_FUNCTION

DISP_PROPERTY

DISP_PROPERTY_EX

DISP_DEFVALUE