다음을 통해 공유


DECLARE_EVENTSINK_MAP

An OLE container can provide an event sink map to specify the events your container will be notified of.

DECLARE_EVENTSINK_MAP( )

설명

Use the DECLARE_EVENTSINK_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_EVENTSINK_MAP macro, macro entries for each of the events to be notified of, and the END_EVENTSINK_MAP macro to declare the end of the event sink list.

For more information on event sink maps, see the article ActiveX Control Containers.

요구 사항

헤더: afxwin.h

참고 항목

참조

BEGIN_EVENTSINK_MAP

END_EVENTSINK_MAP

ON_EVENT

ON_PROPNOTIFY

개념

MFC 매크로 및 전역