Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Clear keyboard input stream
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Clear keyboard input stream
Divers
Thread ID:
00815975
Message ID:
00815975
Vues:
118
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform