BEGIN_EVENT_MAP

BEGIN_EVENT_MAP( theClass, baseClass )

Parameters

theClass

Specifies the name of the control class whose event map this is.

baseClass

Specifies the name of the base class of theClass.

Remarks

Use the BEGIN_EVENT_MAP macro to begin the definition of your event map.

In the implementation (.CPP) file that defines the member functions for your class, start the event map with the BEGIN_EVENT_MAP macro, then add macro entries for each of your events, and complete the event map with the END_EVENT_MAP macro.

For more information on event maps and the BEGIN_EVENT_MAP macro, see the article ActiveX Controls: Events in Visual C++ Programmer’s Guide.

See Also   DECLARE_EVENT_MAP, END_EVENT_MAP