Craig
Well-known member
Hi,
I am creating a program where I need it to be able to use hotkeys.
Eg. When I press "ctrl+F1" I need it to run some code whether the form has focus or not.
After searching this forum, I found this thread.
http://www.vbdotnetforums.com/showthread.php?t=7471
However I can't understand the code posted by JohnH (the last post on the thread)
Could anyone either explain to me this code or just show me how I would set the key combination for the hotkey
Thanks!
I am creating a program where I need it to be able to use hotkeys.
Eg. When I press "ctrl+F1" I need it to run some code whether the form has focus or not.
After searching this forum, I found this thread.
http://www.vbdotnetforums.com/showthread.php?t=7471
However I can't understand the code posted by JohnH (the last post on the thread)
Could anyone either explain to me this code or just show me how I would set the key combination for the hotkey
Thanks!