|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. ArchiveDisclaimer|
Visual Studio .NET 2003
Handles (at the document level) an event identified by dispid originated by the HTML element identified by elemName.
DHTML_EVENT(dispid, elemName, memberFxn )
- The DISPID of the event to be handled.
- An LPCWSTR holding the ID of the HTML element sourcing the event, or NULL to handle document events.
- The handler function for the event.
Use this macro to add an entry to the DHTML event map in your class.