Hi all
I have tried both CloseWindow and DestroyWindow. CloseWindow() will work on other process window and minimizes the window in question, but DestroyWindow() won't destroy the other process's window.
This other proces is a process spawned VFP exe out of the main process which in turn instanitates an activex, this in turn opens the window. As long as this window is open the spawned VFP exe process is in waiting for the close of the activex window, so I cannot execute anything from there util the activex window is closed by the user.
How can I force the DestroyWindow(), please let me know?