* SetWindowPos Flags #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_NOOWNERZORDER 0x0200 && Don't do owner Z ordering */ #define SWP_NOSENDCHANGING 0x0400 && Don't send WM_WINDOWPOSCHANGING */ DECLARE SHORT SetWindowPos IN USER32 ; INTEGER hWnd, INTEGER hWndInsertAfter, ; INTEGER x, INTEGER y, ; INTEGER cx, INTEGER cy, ; INTEGER uFlags lcDFWtitle = "Visual Foxpro Debugger" lnHWnd = is_run32(lcDFWtitle) lnFlags = SWP_NOSIZE + SWP_NOZORDER + SWP_NOACTIVATE + SWP_NOOWNERZORDER IF SetWindowPos(lnHwnd,0,1000,100,0,0, lnFlags) = 0 * Error ENDIFThe code uses is_run32 function from Is a Windows applications running? File #9292.