Flushkeys doesn't seem to clear out cursor keys.
I basically have some code that calls Flushkeys, then a Wwhile loop that breaks out with GetKey() <> 0. If you are holding a key down, like space, when you go into the loop, it won't exit due to the earlier flushkeys, which is correct BUT, and here's the crunch, if you hold down a cursor key, GetKeys() will immediately exit with a total non ASCII value of 63232 to 63235!
Anyone know how to prevent this (apart from testing the result of GetKeys before breaking out?)
I basically have some code that calls Flushkeys, then a Wwhile loop that breaks out with GetKey() <> 0. If you are holding a key down, like space, when you go into the loop, it won't exit due to the earlier flushkeys, which is correct BUT, and here's the crunch, if you hold down a cursor key, GetKeys() will immediately exit with a total non ASCII value of 63232 to 63235!
Anyone know how to prevent this (apart from testing the result of GetKeys before breaking out?)