BEGIN_EMBED_DHTML_EVENT_MAP
Starts the definition of an embedded DHTML event map in a multipage dialog.
Syntax
BEGIN_EMBED_DHTML_EVENT_MAP(
className
,
mapName
)
Parameters
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.
Remarks
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.
Example
See the example in BEGIN_DHTML_URL_EVENT_MAP.
Requirements
Header: afxdhtml.h
See Also
MFC Macros and Globals
Multipage DHTML and URL Event Maps (NIB)
DHTML Event Maps