Export (0) Print
Expand All
TRY
Expand Minimize

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( )

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.

Header: afxctl.h

Community Additions

ADD
Show:
© 2014 Microsoft