Hi,
In c#.net application, i want to disable context menu key of the keyboard. I don't have any idea regarding this, please help? :)
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
FroglegPosted Mar 31, 2011, 3:35 AM
http://sharpkeys.codeplex.com/
Vijay YadavPosted Mar 31, 2011, 3:21 AM
Thanks for your reply but i want to do this for the whole system not just for single form or my application.. :)
FroglegPosted Mar 31, 2011, 3:12 AM
private void Form1_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode== Keys.Apps)
{
e.Handled = true;
MessageBox.Show("context menu key pressed");
}
}
Not sure if it will work but give it a try
Vijay YadavPosted Mar 31, 2011, 2:56 AM
FroglegPosted Mar 31, 2011, 2:45 AM