Freigeben über


screenY property

Gets the y-coordinate of the mouse pointer, relative to the upper-left corner of the screen.

 

Syntax

HRESULT value = object.get_screenY(* p);

Property values

Type: long

The y-coordinate.

Standards information

Remarks

Note  Screen coordinates depend on document zoom level. At 200% magnification, Windows Internet Explorer reports the "logical" position of a pixel as half of the distance of the same position at 100% zoom. For more information, see Making the Web Bigger: DPI Scaling and Internet Explorer 8.

 

See also

Reference

IDOMMouseEvent::clientX

IDOMMouseEvent::pageX

IDOMMouseEvent::screenX

IDOMMouseEvent::x