Keyboard Hook
How to create an application-wide keyboard hook. Intercepts and destroys certain keystrokes occurring in the current process. Note that the UserControls section contains a system-wide keyboard hook.
About this post
Posted: 2017-07-27
By: BlackBeltVB
Viewed: 395 times
Categories
Attachments
KEYHOOK.ZIP
Posted: 7/27/2017 5:31:13 PM
Size: 2,836 bytes
Requirements
This code originally appeared on BlackBeltVB.com, and has been republished here with the permission of Matt Hart.
Special Instructions
Uses the following API functions:
- CallNextHookEx
- GetKeyState
- SetWindowsHookEx
- UnhookWindowsHookEx
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.