How does one go about setting up a hotkey, so that your application can be brought up without having to click on a tray icon or window?
Properties->Shortcut->Shortcut key
Sorry. What I meant was how do I make an application that has hotkeys?
Hi,
Seems you have to create some control with "msctls_hotkey32" as the classname. See this
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/hotkey/hotkey.asp
Thomas :U
Hi Robert,
Easy Code has the HotKey object.
Ramon
When you generate a .lnk to a program file, you can also assign a shortcut key sequence as well. This is also re-assignable by the user, just in case it conflict with something else.
Regards, P1 :8)
P1: see Bieb's reply to Vortex
thomas: no need for a control
Ramon: nice solution, but I personally don't like Easy Code
My solution: use RegisterhotKey and put a WM_HOTKEY handler in your WndProc.
Quote from: AeroASM on April 22, 2005, 08:40:09 PM
P1: see Bieb's reply to Vortex
It was not so much as technique to as a comment about the technique, that it could be re-assigned by the user. Having some control passed to the user is useful.
Regards, P1 :8)