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 x-coordinate of the mouse pointer, relative to the upper-left corner of the viewport (that is, the application's client area).
![]() ![]() |
Syntax
HRESULT value = object.get_clientX(* p);
Property values
Type: long
The x-coordinate.
Standards information
- Document Object Model (DOM) Level 3 Events Specification, Section 5.2.3
Remarks
Client coordinates do not reflect the scroll offset of the page. To get the mouse pointer's coordinates relative to the upper-left corner of the document, use the IDOMMouseEvent::pageX and IDOMMouseEvent::pageY properties.
See also
Reference
.png)
.png)