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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top