views:

93

answers:

1

I'm using the Windows API (SetWindowsHookEx) to capture keyboard events. I would like to pass the Ctrl+Shift+Esc combination to my application for processing but suppress Task Manager appearing.

Unfortunately, it looks like the three key combination never gets as far as my Keyboard Hook routine; I only ever get two keys.

I don't want to suppress Task Manager globally, just for my application.

Is there a way to do this?

A: 

Just my 2 cents, but I believe it is not possible. This combo is some kind of last resort, and if apps could catch it, and then hang... I am very sure, this event is not delivered by normal means. And even if an app would be able to catch this... I would deinstall it at once for disturbing my work experience.

Catch Ctrl-Alt-Insert, if you need to provide similar functionality.

Daniel
Thanks. But I'm writing an emulator, so in that sense it is a non-standard Windows app. In the emulator Ctrl+Shift pauses scrolling and then pressing Escape breaks out of the scroll.
Jonathan Swift
VMWare, LogMeIn also doesn't catch Ctrl-Alt-Delete (because they can't), but Ctrl-Alt-Insert. Users get used to it.
Daniel