Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

offsetX property

Sets or retrieves the x-coordinate of a pointer's position relative to the object firing the event.


HRESULT value = object.put_offsetX( v);HRESULT value = object.get_offsetX(* p);

Property values

Type: long

the x-coordinate, in pixels.


The coordinates match the IHTMLElement::offsetLeft and IHTMLElement::offsetTop properties of the object. Use IHTMLElement::offsetParent to find the container object that defines this coordinate system.



Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.