Subject Capturing keystrokes
Author Riho-Rene Ellermaa
I created a game for children, where they must guess whats represented
in picture. I'm also using Micorosft Agent for guiding and comments.
When they press keys I check the key value and if the current key is
wrong, then Agent speaks a warning.
I'm using FormKeyPress(TObject *Sender, char &Key) to catch users

The problem is that when they press heavily on keys (like little
children do), then I get lot's of unnecessary keystrokes. And if for
HORSE they enter HHHHHOOOORRRRSSSSEEEE, my program takes each correct
first letter and then immediately tells for second letter that it's
wrong. for children it looks that each letter he enters is accepted but
still declared wrong.

Any ideas how to flush the unnecessary keystrokes?

Riho-Rene Ellermaa
senior programmer