Export (0) Print
Expand All
MFC
TRY
Expand Minimize
This topic has not yet been rated - Rate this topic

BEGIN_EMBED_DHTML_EVENT_MAP

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

BEGIN_EMBED_DHTML_EVENT_MAP(className, mapName )
className

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

mapName

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.