how can i disable CTRL+ALT+DEL,ALT+F4 and ALT+TAb keys
-
hi everybody, i want to disable CTRL+ALT+DEL,ALT+F4 and ALT+TAb keys through c# program how can i achieve it.please send some clue if possible please send some sample code.
-
hi everybody, i want to disable CTRL+ALT+DEL,ALT+F4 and ALT+TAb keys through c# program how can i achieve it.please send some clue if possible please send some sample code.
You cannot disable Ctrl-Alt-Delete.
using System.Beer;
-
hi everybody, i want to disable CTRL+ALT+DEL,ALT+F4 and ALT+TAb keys through c# program how can i achieve it.please send some clue if possible please send some sample code.
As Jon said, Windows will not allow you to disable CTRL-ALT-DEL. This is because this particular shortcut is used to signal to the Windows OS that you want to perform some critical action - log off, terminate a program, etc. In fact, in some Windows setups, you are required to press CTRL-ALT-DEL before you login to the system. This is so that you know that you're typing your username and password into a real Windows OS login dialog - not some spoofer. That said, it sounds like you might be trying to write a screensaver program. Don't worry about those key combinations. Just write your program as a normal .EXE file, then when it is compiled change the file extension to .SCR. Then right-click on the file from Explorer and hit Install. You'll now be able to use this as a screensaver, and Windows should take care of those pesky key combinations for you automatically.
-
hi everybody, i want to disable CTRL+ALT+DEL,ALT+F4 and ALT+TAb keys through c# program how can i achieve it.please send some clue if possible please send some sample code.
Use keyboard hooking to do whatever you want. This way, you can hook all the key events in windows for all windows and cancel the ones you don't want to be processed by "your Window". this topic is not a small one and requires experience. Please checkout google for more information and source code examples.