This topic has not yet been rated - Rate this topic

clientX property

Sets or retrieves the x-coordinate of the mouse pointer, or user's finger, position relative to the client area of the window, excluding window decorations and scroll bars. For the standards based property, see IDOMMouseEvent::clientX.

Syntax

HRESULT value = object.put_clientX( v);HRESULT value = object.get_clientX(* p);

Property values

Type: long

the x-coordinate, in pixels.

Remarks

Because the IHTMLEventObj::clientX property returns a value relative to the client, you can add the value of the IHTMLElement2::scrollLeft property to determine the distance of the x-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: 11/12/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.