This topic has not yet been rated - Rate this topic

offsetY property

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

Syntax

HRESULT value = object.put_offsetY( v);HRESULT value = object.get_offsetY(* p);

Property values

Type: long

the y-coordinate, in pixels.

Remarks

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.

 

 

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.