Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to see if an APP is running?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00500554
Message ID:
00501933
Views:
31
>The solution was to
>declare the applications window handle as a global variable
>when I active the application.
>
>With
>
>PUBLIC gnwnd
>DECLARE INTEGER GetActiveWindow IN Win32API
>gnwnd = GetActiveWindow()
>
>
>
>Then I just changed the line in is_run32 to:
>from:
>
>lnhwnd = GetActiveWindow()
>
>to:
>lnhwnd = gnwnd
>
>Thanks would have never gotten anywhere without the function!!

Tim,

Actually, you're the second person that's had a problem involving the GetActiveWindow() call. I haven't had a chance to investigate exactly what the problem is, but what you've told me may help. I'm going to see if there's something I can do to fix the problem, and if I find a solution I'll update the file and post here when it's available.

Glad the function was of some help.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform