in Advanced Delphi
Consider for a moment creation of some fast arcade game. All the graphics is displayed, let's say, in a TPainBox. TPaintBox is unable to receive the input focus - no events are fired when the user presses a key; we cannot intercept cursor keys to move our battle ship. Delphi help!
Read the full article to learn about Intercepting Keyboard Input with Delphi - Implementing a Keyboard Hook.
Related How to Hook the Mouse to Catch Events Outside of your application | Disable Mouse and Keyboard from Delphi code | Sending messages to non-windowed applications