Log in

View Full Version : C# How to detect ctrl + alt + del is down?



ShowerThoughts
03-26-2009, 07:25 PM
You might think it's weird why I am asking this here?
But I really really can't find it 0.o.
I've googled pretty long...

Can you help me?

TViYH
03-26-2009, 07:33 PM
http://www.ondotnet.com/pub/a/dotnet/2002/04/29/keys.html

ShowerThoughts
03-26-2009, 07:53 PM
I've seen to, I don't get the crap around it plus I can't find the code in the code.
If you know what I am saying.

But thank you!

Edit:

{
if (e.KeyCode == Keys.ControlKey && e.Modifiers == Keys.Alt && e.Modifiers == Keys.Delete)
e.Handled = true;
base.OnKeyDown(e);
}