DECLARE_EVENT_MAP

DECLARE_EVENT_MAP()

Remarks

Each COleControl-derived class in your program can provide an event map to specify the events your control will fire. Use the DECLARE_EVENT_MAP macro at the end of your class declaration. Then, in the .CPP file that defines the member functions for the class, use the BEGIN_EVENT_MAP macro, macro entries for each of the control’s events, and the END_EVENT_MAP macro to declare the end of the event list.

For more information on event maps, see the article in Visual C++ Programmer’s Guide.

See Also   BEGIN_EVENT_MAP, END_EVENT_MAP, EVENT_CUSTOM, EVENT_CUSTOM_ID