Hello there,

I'm writing an app to help with spelling. You see a picture, the letters appear 1 by one (with a 'sleep' from kernel32 in between) and then the letters disappear. Keystrokes are then used to type in the word yourself.

The problem is that while the picture and letters are in the process of being shown any keystrokes are stored in the keyboard buffer and are activated as soon as the procedure comes to an end. I've tried deactivating the sub that reads the keystrokes and only activating after everything is done but the keyboard buffer holds onto it until that point anyway.

The only thing I can think of is to show the pic and letters and then clear the k/b buffer all in 1 sub - any ideas?

TIA

HH