Possible Duplicate:
how can I disable windows key in c#?
How can I disable windows key in my c# windows app?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Take a look at this library:
http://globalmousekeyhook.codeplex.com/
As an example using this lib with following snippet you can disables WinKey + R combination.
There are two steps 1. Detect the combination 2. Disable further handling by setting
e.Handled = true.Hope it helps.