Export (0) Print
Expand All
TRY
Expand Minimize

DHTML_EVENT_ELEMENT

Handles (at the element identified by elemName) an event identified by dispid.

DHTML_EVENT_ELEMENT(dispid, elemName, memberFxn )

dispid

The dispatch ID of the event to be handled.

elemName

An LPCWSTR holding the ID of the HTML element sourcing the event.

memberFxn

The handler function for the event.

Use this macro to add an entry to the DHTML event map in your class.

If this macro is used to handle nonbubbling events, the source of the event will be the element identified by elemName.

If this macro is used to handle bubbling events, the element identified by elemName may not be the source of the event (the source could be any element contained by elemName).

Header: afxdhtml.h

Community Additions

ADD
Show:
© 2014 Microsoft