Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DHTML_EVENT_ONFOCUS

 

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


DHTML_EVENT_ONFOCUS(
elemName
, 
memberFxn
 )

elemName

An LPCWSTR holding the ID of the HTML element sourcing the event.

memberFxn

The handler function for the event.

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

Requirements

Header: afxdhtml.h

Show: