moveBy method
Moves the screen position of the application window by the specified offset values.
Syntax
HRESULT retVal = object.moveBy(x, y);
Parameters
x [in]
Type: LONGA LONG that indicates the horizontal offset in pixels.
y [in]
Type: LONGA LONG that indicates the vertical offset in pixels.
Remarks
The IHTMLOMWindowServices::moveBy method was introduced in Microsoft Internet Explorer 6 for Windows XP Service Pack 2 (SP2).
This method is for applications that host the WebBrowser Control. It intercepts the IHTMLWindow2::moveBy call from script and moves the application window.
Note When operating in high-dpi mode, pixel values are scaled up accordingly. See Adjusting Scale for Higher DPI Screens for additional information.