Export (0) Print
Expand All

clientY property

[This documentation is preliminary and is subject to change.]

Sets or retrieves the y-coordinate of the mouse pointer, or user's finger, position relative to the client area of the window, excluding window decorations and scroll bars.

Syntax

HRESULT value = object.put_clientY( v);HRESULT value = object.get_clientY(* p);

Property values

Type: long

the y-coordinate, in pixels.

Remarks

Because the clientY property returns a value relative to the client, you can add the value of the IHTMLElement2::scrollTop property to determine the distance of the y-coordinate from the edge of the body element.

Within a viewlink, the client area begins at the edge of the master element.

 

 

Send comments about this topic to Microsoft

Build date: 6/6/2012

Community Additions

Show:
© 2014 Microsoft