BEGIN_EVENTSINK_MAP
TRY
TOC
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

BEGIN_EVENTSINK_MAP

Begins the definition of your event sink map.

BEGIN_EVENTSINK_MAP(theClass, baseClass )

Parameters

theClass
Specifies the name of the control class whose event sink map this is.
baseClass
Specifies the name of the base class of theClass.

Remarks

In the implementation (.cpp) file that defines the member functions for your class, start the event sink map with the BEGIN_EVENTSINK_MAP macro, then add macro entries for each event to be notified of, and complete the event sink map with the END_EVENTSINK_MAP macro.

For more information on event sink maps and OLE control containers, see the article ActiveX Control Containers.

See Also

MFC Macros and Globals | DECLARE_EVENTSINK_MAP | END_EVENTSINK_MAP

Show:
© 2016 Microsoft