1
我用鉤子過濾功能過濾HKEYS,我使用下面的代碼來禁用Alt + Tab鍵,Alt + Esc鍵,按Ctrl + Esc鍵,Windows鍵鉤過濾Keybords HKEYS問題在C
if (((lParam.vkCode == 9) && (lParam.flags == 32))||
((lParam.vkCode == 27) && (lParam.flags == 32))||
((lParam.vkCode == 27) && (lParam.flags == 0)) ||
((lParam.vkCode == 91) && (lParam.flags == 1)) ||
((lParam.vkCode == 92) && (lParam.flags == 1)) ||
((true) && (lParam.flags == 32)))
return 1;
燦任何一個告訴我如何禁用Ctrl + Alt + Del?我已經嘗試了很多過濾器,但對我來說不成功。
複製http://stackoverflow.com/questions/886076/how-can-i-intercept-all-key-events-including-ctrlaltdel-and-ctrltab – caf 2010-03-26 11:07:26