在任务管理器执行之前捕获 Ctrl+Shift+Esc

发布于 2024-08-31 18:50:39 字数 194 浏览 1 评论 0原文

我正在使用 Windows API (SetWindowsHookEx) 来捕获键盘事件。我想将 Ctrl+Shift+Esc 组合传递给我的应用程序进行处理,但禁止显示任务管理器。

不幸的是,看起来三个组合键永远无法达到我的键盘挂钩例程;我只得到两把钥匙。

我不想仅针对我的应用程序全局抑制任务管理器。

有办法做到这一点吗?

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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

许一世地老天荒 2024-09-07 18:50:39

只是我的2分钱,但我相信这是不可能的。这个组合是某种最后的手段,如果应用程序可以捕获它,然后挂起......我非常确定,这个事件不是通过正常方式传递的。即使应用程序能够捕获此内容...我也会立即将其卸载,因为它会干扰我的工作体验。

如果您需要提供类似的功能,请使用 Ctrl-Alt-Insert。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文