DHTML_EVENT_ELEMENT
TRY
TOC
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

DHTML_EVENT_ELEMENT 

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


DHTML_EVENT_ELEMENT(dispid, elemName, memberFxn )

Parameters

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

Show:
© 2016 Microsoft