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:
00501917
Vues:
27
Actually I tried that...

I tried to look into the function and seem to have found the problem.
But I don't know how to fix it...

It actually happens as soon as I activate another window. Any window
so it is not the tool bar text.

It seems to be
GetActiveWindow()

It returns 0 if the application is not currently the activated one.

So the isrun_32 will fail if it is not run as the activated application.
Is there an alternate function that can be used to GetActiveWindow()

In my VB API reference it is noted:
It is common for no window to be active. This is because the active window state is kept on a per-application instead of systemwide basis.

I will continue to look for a solution.

Thanks for your help.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform