开发者

Preventing application from receiving a keystroke

开发者 https://www.devze.com 2023-02-17 15:02 出处:网络
I want to create an application in which, when it starts executing, the user can not perform keystrokes and the application cannot receive any events fro开发者_StackOverflow中文版m keyboard, such as c

I want to create an application in which, when it starts executing, the user can not perform keystrokes and the application cannot receive any events fro开发者_StackOverflow中文版m keyboard, such as command+Q,command+shift+3, etc. I just want to disable some key combination so that i can make my application secure


You can create a carbon evemt for this hot key (3+shift+cmd) http://cocoasamurai.blogspot.com/2009/03/global-keyboard-shortcuts-with-carbon.html

0

精彩评论

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