DECLARE INTEGER SetWindowPos IN WIN32API ; INTEGER nHWnd, ; INTEGER nHWndInsertAfter, ; INTEGER nX, ; INTEGER nY, ; INTEGER nCx, ; INTEGER nCy, ; INTEGER nFlags #define SWP_NOSIZE 0x0001 #define SWP_NOMOVE 0x0002 #define SWP_NOZORDER 0x0004 #define SWP_NOREDRAW 0x0008 #define SWP_NOACTIVATE 0x0010 #define SWP_FRAMECHANGED 0x0020 /* The frame changed: send WM_NCCALCSIZE */ #define SWP_SHOWWINDOW 0x0040 #define SWP_HIDEWINDOW 0x0080 #define SWP_NOCOPYBITS 0x0100 #define SWP_NOSENDCHANGING 0x0400 /* Don't send WM_WINDOWPOSCHANGING */ #define SWP_NOREPOSITION 0x0200 /* Don't do owner Z ordering */ * Returns an HWND DECLARE INTEGER FindWindow IN WIN32API STRING cClassName, STRING cCaption lnHWnd = FindWindow(NULL, "Window Titlebar Caption") IF lnHWnd != 0 * Send a command to move the window SetWindowPos(lnHWnd, NULL, -50, -50, 0, 0, SWP_NOSIZE + SWP_NOZORDER + SWP_NOACTIVATE + SWP_SHOWWINDOW) ENDIFSomething like that would work. If it's a popup modal window like a messagebox(), it won't move easily. If it's a normal window, it should work.