Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Clearing the WIndows keyboard buffer
Message
De
11/06/2007 08:01:48
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Vista
Divers
Thread ID:
01231301
Message ID:
01231927
Vues:
12
Thanks. I ended up using a timer to see if the messagebox does appear. When it does appear, the timer sends the keystroke.

>Maybe you should check first for MessageBox and send key only when it's present.
>
>>
>>I am using the Wscript.shell method of SendKeys to press the OK button on a MessageBox. But the MessageBox does not always appear. At the times it does not appear, the appending keystoke is still in the windows keyboard buffer. I am looking for a way to clear the buffer.
Greg Reichert
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform