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 3 5849
Why do you need to?
"Joe" <ra********@hotmail.com> wrote in message
news:u2*************@TK2MSFTNGP12.phx.gbl... 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.
Joe wrote: 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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: tom |
last post by:
Hello,
How can I disable ALT+TAB?
I've already done it for ALT+F4 by trapping
windows message 16 in the WndProc override of a form.
Does anyone know the windows message for ALT+TAB?
thanx
|
by: Stefan |
last post by:
Hy,
a have an application and i must disable the follow
combination of keys: ALT+F4 ALT+TAB CTRL+ALT+DEL CTRL+ESC.
For ALT+F4 i can disable the conbination with:
protected override...
|
by: Stefan |
last post by:
Hy,
i have an app and i must disable this combination: ALT+F4;
CTRL+ALT+DEL; CTRL+ESC;ALT+TAB like this:
i find something on Internet and i can block ALT+F4
protected override...
|
by: |
last post by:
I want to program a application for user login in windows.Now I has some
question about disable the system hotkey(c+a+d,alt+tab,win key.etc.) and
limit the mouse cursor in winform
How can I do it?...
|
by: Adam J. Schaff |
last post by:
How can I issue an Alt+Tab command from within VB.NET code?
Specifically, I am trying to swap to the next application in the Alt+Tab
order in a way that is reversible with a single Alt+Tab to get...
|
by: Seb |
last post by:
Hi
Hope someone can help
I need a way to disable ALT-Tab / ALT-Esc in windows 2k/XP while my form
is loaded and I cant seem to find any help on the web.
Seb
|
by: HSS |
last post by:
Hi,
I have created a form in vb.net , I want to disable alt+tab key in my form ,
How can I ?
Any help sincerly appreciated.
Hardik Shah
|
by: thupham |
last post by:
Dear all friend,
I want disable Ctl+Alt+Del; Ctrl+Esc; Ctrl+tab, Alt+Tab, Start button, ctrl+Alt+Del, lock all keys on the keyboard. Have you ever do it in C#.
Help me.
Thanks for all reply.
|
by: CyberSoftHari |
last post by:
I did below and it is not showing in task bar but when I press Alt + Tab then it is showing in that list. How to disable there.
ShowInTaskbar = false;
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |