0
Reply

Disabling and enabling keys programmatically

Prashant Gadhave

Prashant Gadhave

Jun 20 2006 8:07 AM
1.8k

 I am working on a windows application .This application will be running in the background and capturing all the keystrokes .All the short-cut keys need to be disabled i.e. Alt+F4 or windows+M etc by this application.If the user presses alt+ctrl+8 he should be shown a login screen and if he is authorised the keys should be enabled according to his permission level i.e Admin ,user etc. If this application has got the focus then only it captures events , but as the case mostly is ,there is some other application running which will have focus but I still want to get these keystroke events in my application .Any help please.

Thank you.