>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