Link to home
Start Free TrialLog in
Avatar of girlswants_me
girlswants_me

asked on

Disabling some functions on the KEYBOARD

Hi everyone,

 I am developing a POS, this use a keyboard and a barcode for entries. I want this to be a full proof secure by preventing the user not to go to windows environment or accidentally go to windows. how can i

1.Disable the <alt> + <tab>
2.Disable the <Ctrl> + <Alt> + <Del>
3.Disable the <Ctrl> + <Esc>
4.Disable the <Ctrl> + <Shift> + <Esc>
5.Disable the SCREENSAVER/AUTOPOWER OFF (MONITOR)
6.SOME keys on the keyboard
7.Or anything you can think of to disable as long as the user will not go to the windows environment. Only my POS should be on focus and on TOP of all other applications.

I'm using Delphi 7 under Windows XP operating system.

Thank you in advance.

 
Avatar of girlswants_me
girlswants_me

ASKER

anybody?
Avatar of kretzschmar
guess you need a keyboardhook,
there are some solution around

sorry, i'm not an expert for such things

meikl ;-)
1.Disable the <alt> + <tab>
2.Disable the <Ctrl> + <Alt> + <Del>
3.Disable the <Ctrl> + <Esc>
4.Disable the <Ctrl> + <Shift> + <Esc>

Using the OnKeyDown event of the form to check the shift state and keys pressed for this. Turn off the key they pressed if you need by doing Key := 0;

5.Disable the SCREENSAVER/AUTOPOWER OFF (MONITOR)

For the screensaver I think the only thing you can do is set the permissions of the user within your network environment to handle this. turn of Active Themes for the user I believe though someone would need to confirm this.

6.SOME keys on the keyboard

Again just check the keys on the OnKeyDown event. Key := 0 will suppress whatever they tried to do again

7.Or anything you can think of to disable as long as the user will not go to the windows environment. Only my POS should be on focus and on TOP of all other applications.

You can set the state of the form to always be on top. Also you could check that if the OnExit event of the form gets triggered, i.e. the user tries to move off the form, just setfocus to the form again. This might be ok.


Hi

You need an EPOS Keyboard.  You can assign all the keys to whatever you want by programming the keyboard with the software provided.

That way the user can't Ctrl+Alt+Delete.

These keyboards cost $50+ from specialist suppliers and also let you print your own legends for the key (like 'Total' or 'Complete' etc

You can get special software shells for windows that don't even show the control panel etc.  These are good but expensive.


Voodooman
Thanks for the help, but i don't think all of that will solve my problem.

Anybody has a code? Like, where in the registry should i change in order to suppress some of my questions above. how to code it?

For the screen save, i am not asking for the MANUAL change, i need the code on how to make the screen save temporary disabled.

Anybody knows how??? Delphi programmers where are you???
ASKER CERTIFIED SOLUTION
Avatar of Voodooman
Voodooman

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Anybody else??