The SetWindowPos function changes the size, position, and Z order of a child, pop-up, or top-level window. Child, pop-up, and top-level 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.
Handle to the window
Handle to the window to precede the positioned window in the Z order. Check MSDN for details
Specifies the new position of the left side of the window, in client coordinates
Specifies the new position of the top of the window, in client coordinates
Specifies the new width of the window, in pixels
Specifies the new height of the window, in pixels
Specifies the window sizing and positioning flags. This parameter can be a combination of several values. Check MSDN for details