Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programmatically accessing debug window
Message
De
26/03/2019 09:25:00
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Programmatically accessing debug window
Divers
Thread ID:
01667553
Message ID:
01667553
Vues:
51
In Windows 10, when I switch between single-monitor and dual-monitor mode, VFP9 sometimes doesn't restore its debug window to the current monitor. Typing SET STEP ON or ACTIVATE WINDOW DEBUG brings up the debugger, but it's positioned off-screen somewhere. I haven't figured out a way to bring it back to the actual monitor without resetting it to default, or cascading all the windows which messes up all the other windows size and position I have open.

Does anyone know how to programmatically access it?

Is there an existing VFP tool to enumerate desktop windows, return HWNDs to them, allow searching by name, etc., so I can do something like this:
lo = CREATEOBJECT("desktop_window_helper")
lhwnd = lo.FindDesktopWindow("Visual FoxPro Debugger")
lo.SetWindowPosition(lhwnd, 0, 0, lo.GetWindowWidth(lhwnd), lo.GetWindowHeight(lhwnd))
??
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform