Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing Windows applications child windows
Message
 
À
26/11/2001 09:39:58
Dennis Little
Ist Choice Travel
Glos, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00585709
Message ID:
00585713
Vues:
21
>Using FOPEN(), it's possible to determine whether a file is in use.
>
>George Tasker's IsRunning.prg and other code, provides the necessary code to identify a Windows application through the name of an open filename and thus be able to close the application.
>
>But if an open file is not the active file in the child window list of an application, then the application cannot be identified through the filename.
>
>How can you access the child window list of an open application to determine if a file is in use?
>
>TIA
>
Dennis,

You're correct about Is_Run32 not looking for child windows. My SpyFoxFox utility, however, contains code to enumerate all open Windows (include their title bar text). It's available in the download section.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform