Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to see if an APP is running?
Message
De
01/05/2001 10:00:42
 
 
À
01/05/2001 09:42:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00500554
Message ID:
00501927
Vues:
23
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!!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform