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

BEGIN_DHTML_EVENT_MAP

Marks the beginning of the DHTML event map when placed in the source file for the class identified by className.

BEGIN_DHTML_EVENT_MAP(className )
className

The name of the class containing the DHTML event map. This class should derive directly or indirectly from CDHtmlDialog and include the DECLARE_DHTML_EVENT_MAP macro within its class definition.

Add a DHTML event map to your class to provide information to CDHtmlDialog that can be used to route events fired by HTML elements or ActiveX controls in a web page to handler functions in your class.

Place the BEGIN_DHTML_EVENT_MAP macro in the class's implementation (.cpp) file followed by DHTML_EVENT macros for the events the class is to handle (for example, DHTML_EVENT_ONMOUSEOVER for mouseover events). Use the END_DHTML_EVENT_MAP macro to mark the end of the event map. These macros implement the following function:

virtual const DHtmlEventMapEntry* GetDHtmlEventMap();

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.