Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets the secondary element that is involved in an event.
![]() ![]() |
Syntax
HRESULT value = object.get_relatedTarget(IEventTarget** p);
Property values
Type: Object
The related element.
Standards information
- Document Object Model (DOM) Level 3 Events Specification, Section 5.2.3
Remarks
The related element depends on the type of event:
- In HTMLFrameSiteEvents::onmouseover events, the related element is the element that the mouse pointer left.
- In HTMLFrameSiteEvents::onmouseout events, the related element is the element that the mouse pointer entered.
- In HTMLFrameSiteEvents::onfocusin events, the related element is the element that lost focus.
- In HTMLFrameSiteEvents::onfocusout events, the related element is the element that gained focus.
.png)
.png)