다음을 통해 공유


DHTML_EVENT_CLASS

Handles (at the document level) an event identified by dispid originated by any HTML element with the CSS class identified by elemName.

DHTML_EVENT_CLASS(dispid, elemName, memberFxn )

Parameters

  • dispid
    The dispatch ID of the event to be handled.

  • elemName
    An LPCWSTR holding the CSS class of the HTML elements sourcing the event.

  • memberFxn
    The handler function for the event.

Remarks

Use this macro to add an entry to the DHTML event map in your class.

Requirements

Header: afxdhtml.h

See Also

Reference

CDHtmlDialog Class

Concepts

MFC Macros and Globals

Other Resources

DHTML Event Maps