Re: Some Virtual Keycodes aren't found
From: Yasoo (anonymous_at_discussions.microsoft.com)
Date: Thu, 6 May 2004 10:21:06 -0700
O.K. Thanks again. I thought you meant use F as if it were a #defined constant.
It's a little confusing. I have MSG* pMsg. I found documentation or a forum suggestion oneday to use pMsg->wParam to figure out which key is pressed. wParam is type WPARAM which is documented as "A value passed as a parameter to a window procedure or callback function: 16 bits on Windows versions 3.0 and 3.1; 32 bits on Win32." I didn't know it was (or could be) a character. It never crossed my mind that I could use 'F' and I can't find that documented anywhere (I don't have a "virtual-key codes" in my index). I was getting the SDK for Java info confused with the C++ info.