SetForegroundWindow(Screen.ActiveForm.Handle);
I think that at least in Windows XP the system will block the App from coming into the Front.
Othervice it would work. Have to test this on Windows Mobile also,... -TP- -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus