Original Post
Is there a way to disable focus stealing under Windows. I have a screen saver that does some nasty stuff in background and in a no way I can alow that someone comes to pc, presses space and gets into still logged account, especialy if it's admins account. Intercepting WM_KILLFOCUS is not working too good. As soon as I call another app the focus goes to it, even if I call SetForegroundWindow upon receiving the WM_KILLFOCUS message...