Re: [GD-Windows] GetAsyncKeyState / DI
Brought to you by:
vexxed72
From: Pierre T. <p.t...@wa...> - 2002-11-06 17:39:13
|
> "Although the least significant bit of the return value indicates whether > the key has been pressed since the last query, due to the pre-emptive > multitasking nature of Windows, another application can call > GetAsyncKeyState and receive the "recently pressed" bit instead of your > application. The behavior of the least significant bit of the return value > is retained strictly for compatibility with 16-bit Windows applications > (which are non-preemptive) and should not be relied upon." > > So you can't really rely upon this bit being set correctly. Ooooh that's nasty ! Maybe it's time for me to update my MSDN since that paragraph is *not* included in mine. ...and actually that might explains a lot of weird things I've seen recently..... Sigh. Many thanks, very useful piece of info....................... Pierre |