K
kimiraikkonen
Hi,
Here is 2 questions:
1) I declared some global hotkeys located inside Windows API follows
as:
Private Const MOD_ALT As Integer = 1
Private Const MOD_CONTROL As Integer = 2
Private Const MOD_SHIFT As Integer = 4
Private Const MOD_WIN As Integer = 8
But i need other key's IDs and declarations such as F5, F6 or
Backspace etc. but i couldn't find a all-in-one web resource includes
all.
How can i get all IDs?
2) RegisterGlobalHotkey function is needed to use for these keys and
as sampled here:
RegisterGlobalHotKey(Keys.F6, MOD_CONTROL Or MOD_SHIFT) for pressing
F6+SHIFT+CONTROL together. "MOD_CONTROL" and "MOD_SHIFT" are
modifiers.
How can i leave modifiers blank and use RegisterGlobalHotKey function
with only one key like "F6" alone without other key combinations?
Thanks.
Here is 2 questions:
1) I declared some global hotkeys located inside Windows API follows
as:
Private Const MOD_ALT As Integer = 1
Private Const MOD_CONTROL As Integer = 2
Private Const MOD_SHIFT As Integer = 4
Private Const MOD_WIN As Integer = 8
But i need other key's IDs and declarations such as F5, F6 or
Backspace etc. but i couldn't find a all-in-one web resource includes
all.
How can i get all IDs?
2) RegisterGlobalHotkey function is needed to use for these keys and
as sampled here:
RegisterGlobalHotKey(Keys.F6, MOD_CONTROL Or MOD_SHIFT) for pressing
F6+SHIFT+CONTROL together. "MOD_CONTROL" and "MOD_SHIFT" are
modifiers.
How can i leave modifiers blank and use RegisterGlobalHotKey function
with only one key like "F6" alone without other key combinations?
Thanks.