EN
이 콘텐츠는 한국어로 제공되지 않아 영어 버전으로 표시됩니다.

clientX property

Gets the x-coordinate of the mouse pointer, relative to the upper-left corner of the viewport (that is, the application's client area).

Document Object Model (DOM) Level 3 Events Specification, Section 5.2.3Internet Explorer 9

 

Syntax

HRESULT value = object.get_clientX(* p);

Property values

Type: long

The x-coordinate.

Standards information

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
IDOMMouseEvent::offsetX
IDOMMouseEvent::pageX
IDOMMouseEvent::screenX
IDOMMouseEvent::x

 

 

커뮤니티 추가 항목

추가
표시:
© 2014 Microsoft