TKeyboardHook is a keyboard control component for Delphi.
TKeyboardHook allows you to monitor any keyboard strokes regardless whether your application
has input focus. In this way you can watch any keyboard activity on PC.
TKeyboardHook has two events, what are fired after any keyboard button is hit :
OnReceive event is fired after each hit of any buttons, i.e. after each press or
release, it returns
the button state (on - button is pressed, off - button is released, repeat - button is held down),
the button id and the button repeat
count.
OnKeyCombination event is fired after some key combination is pressed,
(i.e. all some keys are simultaneously pressed and released),
it returns pressed keys and control keys
combination, for example shortcut CTRL - ALT - Q.
System requirements
Windows XP
Delphi 5 (for another versions of Delphi just try demo to see if it works)