Compartir a través de


DHTML Event Maps

The following macros can be used to handle DHTML events.

DHTML Event Map Macros

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

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.

URL Event Map Macros

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

BEGIN_DHTML_URL_EVENT_MAP

Marks the start of the multipage DHTML and URL event map.

BEGIN_EMBED_DHTML_EVENT_MAP

Marks the start of an embedded DHTML event map.

BEGIN_URL_ENTRIES

Marks the start of a URL event entry map.

DECLARE_DHTML_URL_EVENT_MAP

Declares the multipage DHTML and URL event map.

END_DHTML_URL_EVENT_MAP

Marks the end of the multipage DHTML and URL event map.

END_EMBED_DHTML_EVENT_MAP

Marks the end of an embedded DHTML event map.

END_URL_ENTRIES

Marks the end of a URL event entry map.

URL_EVENT_ENTRY

Maps a URL or HTML resource to a page in a multipage dialog.

See Also

Concepts

MFC Macros and Globals