News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Determine virtual key code logic

Started by Magnum, December 14, 2010, 08:10:18 PM

Previous topic - Next topic

Magnum

Looking at the Virtual key code table I

1. Didn't see key codes for non-capital letters
2.


push 500
    call Sleep
    push 5Bh            ;Left windowskey
    call GetAsyncKeyState
    push eax
    push 49h            ; I-key
    call GetAsyncKeyState
    push eax
    push 5Ch            ;right windowskey

.............

main proc
local msg:MSG
invoke RegisterHotKey,0,0,MOD_WIN,VK_049h ; Windows Key + I
Have a great day,
                         Andy

oex

There arent any you have to check shift state

Not sure what Q2. is :lol
We are all of us insane, just to varying degrees and intelligently balanced through networking

http://www.hereford.tv