Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Clear keyboard input stream
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Clear keyboard input stream
Miscellaneous
Thread ID:
00815975
Message ID:
00815975
Views:
116
While testing API function SendInput to send keyboard events to a window text box, I discovered that those events are not cleared from the keyboard input stream after completion of the SendInput function while the window has the focus. When I press the enter key or move the arrow keys, those events are entered again into the text box as if I had pressed the keys manually.

Is there a way to clear the keyboard input stream after using API function SendInput without having to close the window?

Thanks for your help!!
Brent
Brent L. Hackett
Next
Reply
Map
View

Click here to load this message in the networking platform