Disable the Alt+Tab

  • Thread starter Thread starter Joe
  • Start date Start date
J

Joe

Dear Friends,
How do disable the Alt+Tab,Alt+F4,ctr+Alt+Delete ,Alt+esc,Ctrl+Esc keys
through C# program?
Can anybody give me a clue or sample code?

Advance Thanks,

Thanks,
Joe
 
You need to call an API method:

SystemParametersInfo

I do not have the actual DLL import, but check it out. You need to use

SPI_SETSCREENSAVEACTIVE

to prevent from the key combinations you mention.

Hope this helps.

/Rob
 
Look at the post "How do convert the vb.net to C#" from john sutor.
It includes source code to do this.

Greetz,
-- Rob.
 
Back
Top