Contents Index Topic Contents | ||
Previous Topic: IHTMLEmbedElement::get_height Next Topic: IHTMLEventObj::get_srcElement |
IHTMLEventObj
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.
The event object is only available during an event, that is, you can use it in event handlers but not in other code. You retrieve the event object by calling the IHTMLWindow2::get_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 get_fromElement and the get_toElement methods are meaningful only when processing the onmouseover and onmouseout events.
IHTMLEventObj Methods
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.