>You told me to use SetForegroundWindow() or ShowWindow(). Are VFP functions or API functions? If they are APIs, pls. show me how to use them in VFP.
These are Win32 API calls; there is sample code in the FAQ, and I've described ShowWindow() before in
this message and the associated thread