I am developing a small application that enable users to surf at a fee. Now, I want this user(s) to remain logged in as Administrator but when the application is running, I want the following keys to be disabled : Ctrl+Esc,Windows keys,Ctrl+Alt+Delete, Alt+Esc.
I only want the Supervisor access these keys after ending the application by inputting a password that ends it. Pls help.
kiprono
0
Newbie Poster
Recommended Answers
Jump to PostYou are going to have to write a global hook and use SetWindowsHookEx. The procedure that does it will need to be compiled into a DLL (a regular application process is not permitted to use global hooks). Your application can then use the DLL to install the hook and remove …
Jump to PostYou are trying to do something that windows is designed against permitting. So it will be a very technical problem.
If you want more information type "setwindowshookex" in the Delphi IDE, place the cursor on the word, and press F1.
You are going to have to learn how …
All 5 Replies
Duoas
1,025
Postaholic
Featured Poster
kiprono
0
Newbie Poster
Duoas
1,025
Postaholic
Featured Poster
kiprono
0
Newbie Poster
Duoas
1,025
Postaholic
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.