Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is VFP On Top?
Message
De
26/08/2002 06:51:11
 
 
À
26/08/2002 06:23:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00693560
Message ID:
00693563
Vues:
21
This message has been marked as a message which has helped to the initial question of the thread.
>Hi All
>
>Is there any way to know if (a) my VFP application is the foremost active window and (b) whether the screen saver is running i.e. my app is not currently the active output window?
>
>TIA
>
>Jos

Jos,

does this work for you
&& if not in vfp7
SET LIBRARY TO HOME()+"\foxtools.fll" && If FoxTools is in the Home directory.
&& end !vfp7
declare integer GetForegroundWindow in Win32API

HasFocus = (mainhwnd() == GetForegroundWindow())
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform