0 out of 1 rated this helpful - Rate this topic

IHTMLEventObj interface

This interface provides access to the event processes, such as the element in which the event occurred, the state of the keyboard keys, the location of the mouse, and the state of the mouse buttons.

Members

The IHTMLEventObj interface inherits from the IDispatch interface but does not have additional members.

Remarks

The event object is only available during an event; that is, you can use it in event handlers but not in other code. Retrieve the event object by calling the IHTMLWindow2::event method.

Although all event properties are available to all event objects, some properties might not have meaningful values during some events. For example, the values retrieved by the IHTMLEventObj::fromElement and the IHTMLEventObj::toElement methods are meaningful only when processing the HTMLFrameSiteEvents::onmouseover and HTMLFrameSiteEvents::onmouseout events.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

 

 

Send comments about this topic to Microsoft

Build date: 3/8/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Use IDOMEvent in IE9 rendering mode
IHTMLEventObj2::get_srcElement crashes with error Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call in IE9 mode.
feedback

i like these one