>Can I just ignore any other application windows and bring my application window to the frontmost? Would you pls tell me the API call to do this?
>
You can use SetForegroundWindow() or ShowWindow() with a flag value of 5 to bring the app in its current state (maximized or normal) and direct keyboard input to it. You need the hWnd of the VFP application; there's a function in FoxTools that will give this to you, or you can use GetActiveWindow() at a time where you know your own application has focus in the top window you want.