Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Clearing Windows Keyboard Buffer

Status
Not open for further replies.

Leviathan07

Programmer
Jul 14, 2000
11
CA
I have captured the TAB keypress using a windows API command, however, I do not wish to have this command called as soon as I load the control (because sometimes it is loaded with a TAB press). Therefore I am wondering how to clear the windows keyboard buffer in order to eliminate all keys (including the TAB) from the buffer and prevent the code for the TAB press from being called.

Thank you for you help and/or suggestions
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top