Condividi tramite


DHTML_EVENT_ONCLICK

Handles (at the document level) the onclick event originated by the HTML element identified by elemName.

DHTML_EVENT_ONCLICK(elemName, memberFxn )

Parameters

  • elemName
    An LPCWSTR holding the ID of the HTML element 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