>Ed, thank you for your reply and for going into such detail.
>I understand what you are saying and can see merits in your approach.
>
>The immediate problem that I have , is ,I think , more straightforward.
>
>To summarize, whet I need is a way of Maximizing Myapp (not another app) and bringing it forward as the main window . I dont need to have access to any other processes at all.
>
Before anything else happens, save the hWnd of MyApp's Window somewhere; no need to search for it, since you either have an hWnd property in VFP7, or can get it with the API or FOXTOOLS. When your app needs to be at the top, ShowWindow() to make it normal, and then SetForegroundWindow(), both using the hWnd you saved to start. No need to 'find' a Window at all...