PC Review


Reply
Thread Tools Rate Thread

Disabling Alt-F4 in Xp Embedded

 
 
Lucas Khan
Guest
Posts: n/a
 
      10th Jun 2005
Hi,

I need to disable the Alt-F4 key command in Xp embedded, searched for it but
no help.
I don't want to install a third party software for doing this. Isn't their a
registry tweak or any other way to disable alt-f4?

thanks for your help,
Lucas


 
Reply With Quote
 
 
 
 
KM
Guest
Posts: n/a
 
      10th Jun 2005
Lucas,

Usually Alt-F4 is process by the application code (not system wide). Often it is left to be processed by windows default procedure.
So the best way to disable it would be from the application code (just disable WM_CLOSE).

Otherwise, you would need to create a system wide keyboard hook (SetWindowsHookEx API). See the sample code here:
http://www.codeguru.com/Cpp/W-P/syst...cle.php/c5685/
Some more complete code you can leverage is here: http://www.codeproject.com/win32/AntonioWinLock.asp

You can also change the MS keyboard driver (see DDK for the sample code), or try and play with Keyboard Layout scancode maps
([HKLM\SYSTEM\CurrentControlSet\Control\ Keyboard Layout],"Scancode Map").

Some ideas you can find in the docs:
http://msdn.microsoft.com/library/en...oardAccess.asp


--
KM,
BSquare Corp.
www.bsquare.com


> Hi,
>
> I need to disable the Alt-F4 key command in Xp embedded, searched for it but
> no help.
> I don't want to install a third party software for doing this. Isn't their a
> registry tweak or any other way to disable alt-f4?
>
> thanks for your help,
> Lucas



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disabling AGRAVATING warning when embedded object is activiated DannyBones Windows Vista Security 2 16th May 2008 02:11 AM
Disabling 128 bit encryption in WinXP Embedded and WEPOS =?Utf-8?B?VGFkYW8=?= Windows XP Embedded 1 20th Mar 2006 04:55 PM
Disabling default windoes xp embedded start up screen =?Utf-8?B?c3VkaGFrYXI=?= Windows XP Embedded 3 23rd Dec 2005 10:26 AM
Edit Embedded Word Document OR::: Batch remove embedded docs & creat linked file Sharper Microsoft Access Forms 0 30th Jan 2005 12:15 PM
Edit Embedded Word Document OR::: Batch remove embedded docs & creat linked file Sharper Microsoft Access Forms 0 30th Jan 2005 12:15 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:06 AM.