I want to create a system-wide hotkey using keyboard hook. It shold also be useful if the dll created can be used in VB, could anyone help, or direct me to a online resource to find help on this.
Printable View
I want to create a system-wide hotkey using keyboard hook. It shold also be useful if the dll created can be used in VB, could anyone help, or direct me to a online resource to find help on this.
If you know C++ make the dll with the hook procedure yourself or else ask someone to make one for you.
try vbacceleratior
www.vbaccelerator.com
Is there anywhere on the net I can find C++ examples of making hooks? I can make one in C++, but needs help with it.
Download the file attached. It is code from Aaron Young using the SetWindowsHookEx and RegisterHotKey API functions.
Mathew, thanks for the reply, I havn't had a chance to try this out yet. But can you tell me if this would work in the situation I've mentioned? e.g. when a game is running in full screen mode.
Chen Ling