Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
toElement

toElement property

Gets the object that the mouse pointer entered.

Internet Explorer 9

 

Syntax

HRESULT value = object.get_toElement(IHTMLElement** p);

Property values

Type: Object

The current object.

Standards information

There are no standards that apply here.

Remarks

You can use the IDOMMouseEvent::toElement property for HTMLFrameSiteEvents::onmouseenter, HTMLFrameSiteEvents::onmouseleave, HTMLFrameSiteEvents::onmouseover, and HTMLFrameSiteEvents::onmouseout events. For example, during an HTMLFrameSiteEvents::onmouseover event, the IDOMMouseEvent::fromElement property gets the element that the mouse pointer has exited, and the IDOMMouseEvent::toElement property gets the element that the mouse pointer has entered.

See also

Reference
IDOMMouseEvent::fromElement
IDOMEvent::srcElement

 

 

Community Additions

ADD
Show:
© 2015 Microsoft