Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is desktop app running?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00055034
Message ID:
00055057
Vues:
25
>How does one determine if a window exists on the WINNT desktop or if an app is running from within VFP?
>Cheers
>Campbell

If you know the title of the main window you looking for, try this:

DECLARE INTEGER FindWindow ;
IN WIN32API ;
STRING cNull, ;
STRING cWinName

TitleOfTheScreen = 'title'

IF !FindWindow( 0, TitleOfTheScreen ) > 0
**the windows does not exist!
ENDIF


HTH :0)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform