Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to see if an APP is running?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00500554
Message ID:
00501933
Vues:
30
>The solution was to
>declare the applications window handle as a global variable
>when I active the application.
>
>With
>
>PUBLIC gnwnd
>DECLARE INTEGER GetActiveWindow IN Win32API
>gnwnd = GetActiveWindow()
>
>
>
>Then I just changed the line in is_run32 to:
>from:
>
>lnhwnd = GetActiveWindow()
>
>to:
>lnhwnd = gnwnd
>
>Thanks would have never gotten anywhere without the function!!

Tim,

Actually, you're the second person that's had a problem involving the GetActiveWindow() call. I haven't had a chance to investigate exactly what the problem is, but what you've told me may help. I'm going to see if there's something I can do to fix the problem, and if I find a solution I'll update the file and post here when it's available.

Glad the function was of some help.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform