responding_20to_20a_20hot_20key
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
responding_20to_20a_20hot_20key [2018/03/31 13:19] – external edit 127.0.0.1 | responding_20to_20a_20hot_20key [2024/01/05 00:21] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
=====Responding to a hot key===== | =====Responding to a hot key===== | ||
- | //by Richard Russell, October 2010//\\ \\ A **hot key** is a unique system-wide key combination which can be used to cause your program to take some action, irrespective of which application currently has the keyboard 'input focus' | + | //by Richard Russell, October 2010//\\ \\ A **hot key** is a unique system-wide key combination which can be used to cause your program to take some action, irrespective of which application currently has the keyboard 'input focus' |
+ | |||
+ | <code bb4w> | ||
_MOD_ALT = &1 | _MOD_ALT = &1 | ||
WM_HOTKEY = &312 | WM_HOTKEY = &312 | ||
Line 45: | Line 47: | ||
SYS " | SYS " | ||
= T% | = T% | ||
+ | </ | ||
+ | |||
Obviously if your program needs to respond to other **ON SYS** events it must check the appropriate **@msg%** value in **PROCsys** and act accordingly. | Obviously if your program needs to respond to other **ON SYS** events it must check the appropriate **@msg%** value in **PROCsys** and act accordingly. |
responding_20to_20a_20hot_20key.1522502377.txt.gz · Last modified: 2024/01/05 00:16 (external edit)