The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: Farabi on May 25, 2010, 03:18:11 AM

Title: Hotkey
Post by: Farabi on May 25, 2010, 03:18:11 AM
How to install hotkey for my application?
Title: Re: Hotkey
Post by: joemc on May 25, 2010, 03:27:56 AM
OS Dependant....
On windows XP create a shortcut to the program. ie right drag click and let go and click create shortcut

Right click the shortcut
Click properties
There should be a "Shorkey key" box
Title: Re: Hotkey
Post by: Farabi on May 25, 2010, 04:59:29 AM
I mean like when I highlight the textbox and then I press Ctrl+S it do autosave.
Title: Re: Hotkey
Post by: joemc on May 25, 2010, 06:52:59 AM
when ALT is pressed    : WM_SYSCHAR http://msdn.microsoft.com/en-us/library/ms646357(VS.85).aspx
when ALT not pressed : WM_CHAR http://msdn.microsoft.com/en-us/library/ms646276(VS.85).aspx
all around good info     : http://edn.embarcadero.com/article/38447
Title: Re: Hotkey
Post by: Farabi on May 25, 2010, 07:34:42 AM
Thanks