IHTMLEventObj interface

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.
2 out of 6 rated this helpful - Rate this topic

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 [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

 

 

Build date: 11/12/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

© 2013 Microsoft. All rights reserved.