Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting the Current App Handle
Message
 
À
21/10/1998 09:24:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00148855
Message ID:
00148901
Vues:
25
>Greetings All,
>
>I have an application that starts other applications outside of VFP. How can I determine what the handle of the Active Window. GetActiveWindow seems to return the VFP handle, I need the handle of the currently active app.
>
>
>Example: I start my VFP app, which in turn kicks of a Seafood Ordering Application. I can get the handle of this application. Lets say I then start up MS-Mail and this is now on top, how would I get this handle? Then when I return to my Seafood App, I would need to get the Active Handle of the top window again.
>
>Thanks in Advance.
>
>Scott

Check out the program on my website that actually gives you all handles in a cursor. You should be able to modify that for your purposes.
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform