| Microsoft DirectX 8.1 (C++) | 
The SetWindowPosition method sets the window position on the desktop.
Syntax
HRESULT SetWindowPosition(
    long Left,
    long Top,
    long Width,
    long Height
);
Parameters
Left
New left coordinate.
Top
New top coordinate.
Width
Width of the window.
Height
Height of the window.
Return Value
Returns an HRESULT value.
See Also