Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DHTML_EVENT_ELEMENT
TRY
Collapse the table of content
Expand the table of content

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:
© 2015 Microsoft