다음을 통해 공유


DHTML_EVENT_ONFOCUS

Handles (at the element level) the onfocus event. This is a nonbubbling event.

DHTML_EVENT_ONFOCUS(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