[2005] Creating a Hotkey.
I need to create somewhat of a hotkey so that whenever that key is pressed it will trigger the action, but I also what the user to be able to choose their own hotkey. I would like it so when you press a button then the next keys pressed will be the hotkeys and the keys names turned into text and go on the button, ex: "On (*key pressed here*)".
Re: [2005] Creating a Hotkey.
You can use hte CreateHotKey API call and just place a variable where needed to designate the key to use. Then before creating it you prompt the user to select a key either from a dropdown list or ?? and filter out any keys that will create issues.
Re: [2005] Creating a Hotkey.
Re: [2005] Creating a Hotkey.
Re: [2005] Creating a Hotkey.
There are code examples on our Forums