SetWindowPos function user32
Changes the size, position, and Z order of a child, pop-up, or top-level window. These windows are ordered according to their appearance on the screen. The topmost window receives the highest rank and is the first window in the Z order.
BOOL SetWindowPos(
HWND hWnd,
HWND hWndInsertAfter,
int X,
int Y,
int cx,
int cy,
UINT uFlags
);
Implementation
int SetWindowPos(int hWnd, int hWndInsertAfter, int X, int Y, int cx, int cy,
int uFlags) =>
_SetWindowPos(hWnd, hWndInsertAfter, X, Y, cx, cy, uFlags);