DECLARE INTEGER SetForegroundWindow IN WIN32API LONG luHwnd *-- Get the window focus back on VFP SetForegroundWindow(This.HWND)