Forum > Packages and Libraries

Global hotkey component

(1/1)

regs:
I made a cross platform global hotkey component. For Windows, Unix X11 and macOS Cocoa/Carbon. macOS one using part of Carbon API, which is still legit. And as there is no global hotkey API for Cocoa yet. For Cocoa LCLWidgetType should be explicitly set to Cocoa.

It's very rigid - you can register with TShortCut, you can register directly with platform codes. You can use simple OnHotKey event, or more robust SC_HOTKEY message. There are couple of demos.

Here is for review

Navigation

[0] Message Index

Go to full version