DECLARE_EVENT_MAP
Each COleControl-derived class in your program can provide an event map to specify the events your control will fire.
DECLARE_EVENT_MAP( )
Remarks
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 ActiveX Controls: Events.
Requirements
Header: afxctl.h