Please help me with ‘Names of Keys’

Need Help With an Existing Feature in Memory Hacking Software? Ask Here

Moderators: g3nuin3, SpeedWing, WhiteHat, mezzo

Please help me with ‘Names of Keys’

Postby WhiteHat » Mon Nov 24, 2008 9:29 am

The actual case was i wanted to assign [ALT]+[~] as MHS Hotkey. But as
i browse the Key ComboBox of MHS Hotkeys, i can’t found the [~] key.
Maybe it is named in other way in English / computer terms..

Next, i realized that i can’t recognized quite lot of them: Separator Key,
Attn Key, Applications Key, etc...

Also i can’t name these keys: [;], [:], ['], ["], and many more.

I would appreciate if any of you can give me good links or document about
this matter.. I’ve tried to google it, but i didn’t know which proper keyword
would give me good result...

Thank you very much in advance.
.. to boldly go where no eagle has gone before...
User avatar
WhiteHat
Elang Djawa
 
Posts: 1059
Joined: Fri Jul 21, 2006 12:49 pm
Location: Away for a while...

Postby L. Spiro » Mon Nov 24, 2008 10:59 am

You can find the virtual keycode for any key using VkKeyScan(), which returns the VK_* value in the lower 8 bits and the shift state in the upper 8 bits.

VkKeyScan( '~' ) returns 0x01C0, which means VK_OEM_3 (as found in the help file) with the Shift key held.

; = VK_OEM_1 (semicolon).
: = VK_OEM_1 + Shift (colon).


VK_SEPARATOR is the Enter key on the number pad.


L. Spiro
Our songs remind you of songs you’ve never heard.
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan


Return to Help

Who is online

Users browsing this forum: No registered users and 0 guests