Contents Index Topic Contents | ||
Previous Topic: IHTMLEventObj::get_reason Next Topic: IHTMLEventObj::get_y |
IHTMLEventObj::get_x
HRESULT get_x( 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.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a long integer variable that receives the position of the mouse hit.
If the mouse is outside the window when the event is called, this property returns -1.
See also get_y
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.