Dude... you are worried about the PC when they have access to the car??? Priorities man...
Is there a way you can password protect or at least just disable certain key combinations? Alt+F4 , Ctrl+Alt+Del (task manager) etc.
This way I want to prevent anyone (besides me) to shutdown my frontend and get into windows (XP) doing all kinds of nasty stuff![]()
Dude... you are worried about the PC when they have access to the car??? Priorities man...
Originally Posted by Seth
AIMEE will have options to disable these key combinations, and will also have options for security code to be entered to use the system on startup, and after resuming from standby/hibernate
Co Develper of A.I.M.E.E Automotive Intelligent Multimedia Entertainment Engine
www.aimee.cc
Originally Posted by trancified
nice!
Well I'm sorry I didn't make my self clear. You see I've come up with a frontend based on myHTPC which I'm about to implement on a carpc solution I want to sell. The system will ship with that frontend but if the user want's to change it and throw in FrodoPlayer or MMC that's fine. I just want to make sure that any problem occur will be because something is wrong with my frontend and not because a nosy customer messed things up sticking a keyboard on the PC.
Hope this makes sence and clears things up.![]()
Yes, you can do all this with Windows API Keyboard hooks. It is how key loggers, etc are made. You can trap key press combos and handle them yourself instead of letting them fall thru to the windows message pump.
I might be able to dig up some old code and info for you if you need it...
Ben S. Stahlhood II
Hybrid Mobile
MMC/Transcend Developer
--------------------------------------
http://www.hybrid-mobile.com/
http://www.cocoamachine.com/
http://weblogs.asp.net/bstahlhood/
You don't happen to know any freeware program that does that, do you Ben ?Originally Posted by HybridEngineer
![]()
I'ved it and found some pieces of info here and there. Any help will be much appreciated.
![]()
Thanks guys.
http://www.developer.com/net/article.php/1502401 - great looking article that explains it well.
if you dont want the keys to go back to the system, then dont return then to defproc. btw teh article states
Tip: Event the low-level keyboard hook will not block some key combinations, for instance, Ctrl+Alt+Del. I believe Ctrl+Alt+Del generates an interrupt 0x19, which is not routed as a keyboard message. You probably have to implement an interrupt handler for interrupt 0x19 to catch Ctrl+Alt+Del
this is true for windows 2000+, ctrl + alt + del is a system combination now, you can trap it, but you cant prevent it. but you CAN configure how ctrl + alt + del behaves in administrator tools in the control panel. its in system policys or something of that nature.
GL
Thanks cheerioVery usefull info in there.
Cheers.
Im only a programmer(hobbist). Glad to help out with anything.
http://msdn.microsoft.com/msdnmag/is...A/default.aspx
this is a great article as well. You can actally disable Ctrl+Alt+Delete using Group Policy settings...
Check it out, hope this helps
<edit>
As far as the ALT+F4 goes, you can stop your app from closing in the code. Look for an on close event and then prevent it from closing...
</edit>
Ben S. Stahlhood II
Hybrid Mobile
MMC/Transcend Developer
--------------------------------------
http://www.hybrid-mobile.com/
http://www.cocoamachine.com/
http://weblogs.asp.net/bstahlhood/
Bookmarks