Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change debug window
Message
 
 
To
31/01/2003 12:18:39
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00747706
Message ID:
00747923
Views:
23
This message has been marked as the solution to the initial question of the thread.
Hi James,

You can try to do this through Windows API but I'm not sure if it'll work either.
* 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 
ENDIF
The code uses is_run32 function from Is a Windows applications running? File #9292.

>Hi Sergey
>
>I am running two monitors and I have the foxpro screen in the left monitor and I want the debug frame on the far right side of the right monitor. Seems when I try and move the debug frame further right then foxpro screen, the debugger disapears. It is like we used to do in fox2.6, move the window beyond the screen so it would not show. Is there not a way to get a handle to the window so I can set it where I want?
>
>Thanks
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform