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:
00056212
Vues:
26
>>How does one determine if a window exists on the WINNT desktop or if an app is running from within VFP?
>>Cheers
>>Campbell
>
>Campbell,
>
>See the Files section for Is_Run (under Win32 & Other APIs). That will allow you to retrieve the window handle if a particular application is running. The problem with FindWindow is that you have to match the title exactly. Given that most applications have dynamic title bars, it's not likely that it will always work. One note, I haven't tested it under Windows NT, but it still should work. If there are any problems, however, I would appreciate your letting me know.
>
>George

George

Thanks for the reply. I have used the FindWindow API function with success. As the window is a fixed application I know that the title will stay the same. So thanks again.

Cheers
Campbell
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform