IHTMLEventObj::get_yIHTMLEventObj::get_y*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLEventObj::get_x
*Next Topic: IHTMLEventObj::get_clientX

IHTMLEventObj::get_y


HRESULT get_y(
    long *p
);

Retrieves the position of the mouse hit relative to the object in the parent heirarchy that is positioned using the CSS positioning attribute. If no object in the heirarchy has been positioned, the BODY is the default.

p
Address of a long integer variable that receives the position of the mouse hit.

If the mouse is outside the window at the time the event fires, this property returns -1.

See also get_x


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.