Check keyboard buffer without the program being in focus
Posted: Wed Jan 29, 2020 7:24 pm
I have a program running on Tray and I am trying to check for a key combination that may be pressed.
Example:
Pressing CTRL + J
The problem is that the program is minimized in the tray. the CTRL key I can check with GETKEYSTATE plus the letter J key only with LastKey (), but it works if the program is in focus.
Is there another function that could read the keyboard buffer without the program being in focus?
Example:
Pressing CTRL + J
The problem is that the program is minimized in the tray. the CTRL key I can check with GETKEYSTATE plus the letter J key only with LastKey (), but it works if the program is in focus.
Is there another function that could read the keyboard buffer without the program being in focus?