Hot KeysSystem Wide Hot Keys Component for VCL
For all versions of Delphi and C++ Builder from 3 to 10.2 Tokyo and for all versions of Windows from XP to 10
Hot Keys (THotKeys component) allows you to register and use system wide hot keys with unusual easy. The list of hot keys can be edited at design time as the hot keys collection published property and at runtime with several simple public methods.
The hot key processing can be paused and resumed at runtime with Pause and Resume methods or with the Active property. When the user presses the shortcut combination registered as the hot key, the OnHotKey event is fired.
Each hot key is present in collection by THotKeyData class that has own Active property that allows to enable and disable only one hot key and own OnHotKey event that allows to process each registered hot key separately. The event handler can be set at design time using standard collection property editor. Other useful properties, like ShortCut, Key, Shift, Text, etc. help to get all needed informationin convenient format: WinAPI's key and shift state, VCL's shortcut or text reperesentation of the shortcut combination.
Hot Keys suite includes demo project that demonstrates main features of THotKeys component: