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.
Uses the following API functions:
- CallNextHookEx
- GetKeyState
- SetWindowsHookEx
- UnhookWindowsHookEx
Back to Code Samples
Copyright © 2000 by Matt E. Hart, All Rights Reserved Worldwide.
Nothing on this web site may be reproduced, in any form, without express written consent.