OK guys, I'll admit I'm being brain-dead today. I need to prectent an application from being interrupted or switched away from.

Specifically I need to trap CTRL+ALT+DEL, ALT-TAB, CTRL-ESC. I've added keyobard hooks to my app, but the keys still function (ie. I still get the windows security popup on a CTRL-ALT-DEL).

If anyone has a working sample, or even just some hints, they can have my first born son (he's 23, married 2-kids, but a real hard worker!).

Thanks in Advance


Did you ever get SO confused, you thought you knew what you were doing????