Code:
Public Declare Function MoveWindow Lib "user32" Alias "MoveWindow" (ByVal hwnd As Long, ' Handle to the Window e.g. Me.Hwnd ByVal x As Long, ' New position of the left side of the Window/Form. ByVal y As Long, ' New position of the top side of the Window/Form. ByVal nWidth As Long, ' New width of the Window ByVal nHeight As Long, ' New height of the Window ByVal bRepaint As Long) ' Specifies whether Window is to be repainted. True means repainted As Long ' If the function succeeds, the return value is nonzero else zero.
