Hook filtering Keybords HKEYS issue in c

Posted by Arman on Stack Overflow See other posts from Stack Overflow or by Arman
Published on 2010-03-26T11:02:35Z Indexed on 2010/03/26 11:03 UTC
Read the original article Hit count: 279

Filed under:
|
|

I am filtering the HKEYS by using Hook filtering function, I use the following code to disable Alt+Tab, Alt+Esc, Ctrl+Esc, Windows Key

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;

Can any one tell me how can I disable Ctrl+Alt+Del? I have tried a lot to filter this but unsuccessful for me.

© Stack Overflow or respective owner

Related posts about c

    Related posts about c++