Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing Windows applications child windows
Message
 
To
26/11/2001 09:39:58
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00585709
Message ID:
00585713
Views:
20
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform