Click to return to the Reusing Browser Technology home page    
IHTMLEventObj::get_x Meth...     IHTMLEventObj2 Interface     IHTMLEventObj Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLEventObj::get_y Method


Retrieves the position of the mouse hit relative to the object in the parent hierarchy that is positioned using the cascading style sheets (CSS) positioning attribute.

Syntax

HRESULT get_y(
    long *p
);

Parameters

p
Address of a long integer variable that receives the position of the mouse hit. If no object in the hierarchy has been positioned, the BODY is the default. For details, see the y property.

Return Value

Returns S_OK if successful, or an error code otherwise.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.