Re: Win32 (GetAsyncKeyState)
- Posted by Bernie Ryan <bwryan at PCOM.NET> May 20, 1999
- 496 views
This might help When the MOST significant bit of returned value is set, the key is currently pressed down. When the LEAST significant bit of returned value is set, the key is has been pressed since last call to GetAsyncKeyState function. So you have to monitor these bits as you scan the different keys that you want to use. There is also a GetKeyState function maybe that function would be easier for you to use in your application but the return value bits have different set of meanings. I hope this can be of some help. Bernie