Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting the Current App Handle
Message
 
To
21/10/1998 09:24:31
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00148855
Message ID:
00148901
Views:
22
>Greetings All,
>
>I have an application that starts other applications outside of VFP. How can I determine what the handle of the Active Window. GetActiveWindow seems to return the VFP handle, I need the handle of the currently active app.
>
>
>Example: I start my VFP app, which in turn kicks of a Seafood Ordering Application. I can get the handle of this application. Lets say I then start up MS-Mail and this is now on top, how would I get this handle? Then when I return to my Seafood App, I would need to get the Active Handle of the top window again.
>
>Thanks in Advance.
>
>Scott

Check out the program on my website that actually gives you all handles in a cursor. You should be able to modify that for your purposes.
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Previous
Reply
Map
View

Click here to load this message in the networking platform