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
Expand Minimize
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.


Starts the definition of an embedded DHTML event map in a multipage dialog.



The name of the class containing the event map. This class should derive directly or indirectly from CMultiPageDHtmlDialog. The embedded DHTML event map must be inside a DHTML and URL event map).


Specifies the page whose event map this is. This matches mapName in the URL_EVENT_ENTRY macro actually defining the URL or HTML resource.

Because a multipage DHTML dialog consists of multiple HTML pages, each of which can raise DHTML events, embedded event maps are used to map events to handlers on a per-page basis.

Embedded event maps within a DHTML and URL event map consist of a BEGIN_EMBED_DHTML_EVENT_MAP macro followed by DHTML_EVENT macros and an END_EMBED_DHTML_EVENT_MAP macro.

Each embedded event map requires a corresponding URL event entry to map mapName (specified in BEGIN_EMBED_DHTML_EVENT_MAP) to a URL or HTML resource.

Header: afxdhtml.h

Community Additions

© 2015 Microsoft