This method of the IWebBrowser2 interface retrieves the screen coordinate of the top edge of the Microsoft® Internet Explorer main window.
public int getTop();