Are there any key events I cannot handle in my C# program? For example, can I implement differently Windows's events: Ctrl+Alt+Del, Alt+Tab, WindowsKey+D, etc.
A:
every keystroke results in a windowsmessage and every key has a keycode (except the special function keys of some keybords like the gamer keyboards used to have).
overwrite wndproc and get those messages to fire your events.
Jack
2010-05-11 07:41:02
+3
A:
Be aware that in any case there is absolutely no way to bypass the automatic handling of a Ctrl+Alt+Del in Windows. So even when you can handle this as an event in your program, the user will still get an additional task manager / login manager.
efi
2010-05-11 07:44:10
Is that true for the other Windows events, or just for Ctrl+Alt+Del?
Orit
2010-05-11 07:50:59
Classic example is using VNC or RDP - using Ctrl+Alt+Del will always result in your local machine receiving the command.
David Neale
2010-05-11 07:56:09