Click to return to the Reusing Browser Technology home page    
IHTMLWindow3::get_screenL...     IHTMLWindow3::print Metho...     IHTMLWindow3 Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLWindow3::get_screenTop Method


Retrieves the left offset of the window, in pixels, relative to the 0,0 position (top-left corner) of the element's window or the element's parent window.

Syntax

HRESULT get_screenTop(
    long *p
);

Parameters

p
Address of a long variable that returns the left offset of the window.

Return Value

Returns S_OK if successful, or an error code otherwise.

See Also

get_screenLeft


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.