how can i get on a byte code from the WM_CHAR ?

.ELSEIF uMsg==WM_CHAR

the info i want is in wParam as far as i can tell but its not a byte.

all i want is a byte of the charcter code from the keyboard.
Posted on 2001-09-01 21:21:43 by robsonde
You just do this:

.ELSEIF uMsg==WM_CHAR

mov eax,wParam

al now contains char code
Posted on 2001-09-01 23:40:10 by KetilO
why not just


mov al, [wparam]

then? :) - that's the advantage of little-endian.
Posted on 2001-09-02 00:08:38 by f0dder
I was banging my head on the wall just not seing the answer.

should have read the docs :-)

thanks lots.
Posted on 2001-09-02 04:32:43 by robsonde