禁用键盘特殊键,例如CTRL + ALT + DEL,ALT + TAB等 [英] Disable keyboard special keys like CTRL+ALT+DEL, ALT+TAB, etc

查看:351
本文介绍了禁用键盘特殊键,例如CTRL + ALT + DEL,ALT + TAB等的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在启动程序时创建程序,它应该阻止键盘键(与任何按键组合无关),这是用户借助鼠标才能使用其计算机的唯一方法.

他可以使用鼠标关闭我的程序以使用键盘.

可以做到这一点吗,请帮助我.

如果我需要阻止键盘PORT/键盘USB,如何使用C#.Net或Windows API来做到这一点?

I want to create program when I start it should block the keyboard key (irrespective of any key combination), the only way the user can use his machine with the help of mouse.

He can close my program using mouse to use the keyboard.

Can this be done, please help me on this.

If I need to block the keyboard PORT/keyboard USB how can I do so using C#.Net or Windows API.

推荐答案

首先,这不是与WWS API相关的问题.

其次,在Vista和Windows 7中,您只需无法阻止Ctrl-Alt-Del(在Windows的早期版本中,您可以使用自定义GINA dll来执行此操作.)
First of all, this is not a WWS API related question.

And second, in Vista and Windows 7, you simply cannot block Ctrl-Alt-Del (in earlier versions of Windows you could do that with a custom GINA dll).


这篇关于禁用键盘特殊键,例如CTRL + ALT + DEL,ALT + TAB等的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆