08-02-2008 09:14 PM
08-03-2008 01:12 AM
The problem is that updating the display takes considerably longer than the time it takes for the Key Repeat event to fire.
I would suggest you move the actual moving code to a parallel process. Then, transfer the data to that process. This can be done, for example, using a notifier or a queue. This makes it convenient, because you can set an infinite timeout on the wait and then the process won't loop until the notifier is updated. This will allow you to move the object on screen in greater leaps. It won't work as smoothly, but it should avoid the buffering.