Keyboard buffer

  • Thread starter Thread starter Damir
  • Start date Start date
D

Damir

Hallo everybody

Does anyone knows how to access Keyboard buffer?

At the moment I'm catching KeyDown event of the form, and waiting for
carrige return or return key,
but sometimes the Keyboard scanner doesn't send those keys, so I would like
to wait so long until keyboard buffer is empty.

Any helb will be appriciated

Thenks all in advance

Damir
 
http://msdn2.microsoft.com/en-us/library/system.windows.forms.control.keydown.aspx

Certain keys, such as the TAB, RETURN, ESCAPE, and arrow keys are
handled by controls automatically. To have these keys raise the KeyDown
event, you must override the IsInputKey method in each control on your
form. The code for the override of the IsInputKey would need to
determine if one of the special keys is pressed and return a value of true.

Hope that this would be helpful.
 
Back
Top