开发者

Capturing Ctrl+Shift+Esc Before Task Manager Does

开发者 https://www.devze.com 2022-12-29 20:07 出处:网络
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.

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 thre开发者_Python百科e 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?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号