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 |
|
|
IDL |
|
|
DLL |
|
Build date: 11/12/2012