Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
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.

DHTML Event Maps

The following macros can be used to handle DHTML events in CDHtmlDialog-derived classes.

DHTML Event Map Macros

BEGIN_DHTML_EVENT_MAP

Marks the start of the DHTML event map.

BEGIN_DHTML_EVENT_MAP_INLINE

Marks the start of the DHTML event map.

DECLARE_DHTML_EVENT_MAP

Declares the DHTML event map.

DHTML_EVENT

Used to handle an event at the document level for a single HTML element.

DHTML_EVENT_AXCONTROL

Used to handle an event fired by an ActiveX control.

DHTML_EVENT_CLASS

Used to handle an event at the document level for all HTML elements with a particular CSS class.

DHTML_EVENT_ELEMENT

Used to handle an event at the element level.

DHTML_EVENT_ONAFTERUPDATE

Used to handle the onafterupdate event from an HTML element.

DHTML_EVENT_ONBEFOREUPDATE

Used to handle the onbeforeupdate event from an HTML element.

DHTML_EVENT_ONBLUR

Used to handle the onblur event from an HTML element.

DHTML_EVENT_ONCHANGE

Used to handle the onchange event from an HTML element.

DHTML_EVENT_ONCLICK

Used to handle the onclick event from an HTML element.

DHTML_EVENT_ONDATAAVAILABLE

Used to handle the ondataavailable event from an HTML element.

DHTML_EVENT_ONDATASETCHANGED

Used to handle the ondatasetchanged event from an HTML element.

DHTML_EVENT_ONDATASETCOMPLETE

Used to handle the ondatasetcomplete event from an HTML element.

DHTML_EVENT_ONDBLCLICK

Used to handle the ondblclick event from an HTML element.

DHTML_EVENT_ONDRAGSTART

Used to handle the ondragstart event from an HTML element.

DHTML_EVENT_ONERRORUPDATE

Used to handle the onerrorupdate event from an HTML element.

DHTML_EVENT_ONFILTERCHANGE

Used to handle the onfilterchange event from an HTML element.

DHTML_EVENT_ONFOCUS

Used to handle the onfocus event from an HTML element.

DHTML_EVENT_ONHELP

Used to handle the onhelp event from an HTML element.

DHTML_EVENT_ONKEYDOWN

Used to handle the onkeydown event from an HTML element.

DHTML_EVENT_ONKEYPRESS

Used to handle the onkeypress event from an HTML element.

DHTML_EVENT_ONKEYUP

Used to handle the onkeyup event from an HTML element.

DHTML_EVENT_ONMOUSEDOWN

Used to handle the onmousedown event from an HTML element.

DHTML_EVENT_ONMOUSEMOVE

Used to handle the onmousemove event from an HTML element.

DHTML_EVENT_ONMOUSEOUT

Used to handle the onmouseout event from an HTML element.

DHTML_EVENT_ONMOUSEOVER

Used to handle the onmouseover event from an HTML element.

DHTML_EVENT_ONMOUSEUP

Used to handle the onmouseup event from an HTML element.

DHTML_EVENT_ONRESIZE

Used to handle the onresize event from an HTML element.

DHTML_EVENT_ONROWENTER

Used to handle the onrowenter event from an HTML element.

DHTML_EVENT_ONROWEXIT

Used to handle the onrowexit event from an HTML element.

DHTML_EVENT_ONSELECTSTART

Used to handle the onselectstart event from an HTML element.

DHTML_EVENT_TAG

Used to handle an event at the document level for all elements with a particular HTML tag.

END_DHTML_EVENT_MAP

Marks the end of the DHTML event map.

Community Additions

ADD
Show:
© 2015 Microsoft