I am having difficulty registering keystrokes in my win32 app. I am not using mfc, so I have the old winproc func with the large switch statement. The thing is, I can register the keystroke, ie. actually know its happening using WM_KEYDOWN, but I cannot work out which key is being pressed. How do I do this in windows?