Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Highlight a minimized App
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00697567
Message ID:
00698586
Vues:
18
>Ed, thank you for your reply and for going into such detail.
>I understand what you are saying and can see merits in your approach.
>
>The immediate problem that I have , is ,I think , more straightforward.
>
>To summarize, whet I need is a way of Maximizing Myapp (not another app) and bringing it forward as the main window . I dont need to have access to any other processes at all.
>

Before anything else happens, save the hWnd of MyApp's Window somewhere; no need to search for it, since you either have an hWnd property in VFP7, or can get it with the API or FOXTOOLS. When your app needs to be at the top, ShowWindow() to make it normal, and then SetForegroundWindow(), both using the hWnd you saved to start. No need to 'find' a Window at all...
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform