this time about key presses...

Started by paulDiagnos, February 17, 2005, 08:59:27 AM

Previous topic - Next topic

paulDiagnos

Hi me again,

How can i capture key presses individuelly,

i have looked at the function keydown that is offered, and had  lpNKD popped up in the message box to show me if different kjey presses are represented,

unfortantly for most of the buttons the same numbeer pops up. such as for any F key, (F1, F2, etc) the number is 7403092

i think I am either looking in the wrong place, or have the wrong end of the stick

thanks Paul

paulDiagnos

ok solved it myself

you use wmsg to determine if its a key press then you use, wparam to get the code for the key