Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Clearing the WIndows keyboard buffer
Message
 
 
To
07/06/2007 10:42:31
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Vista
Miscellaneous
Thread ID:
01231301
Message ID:
01231842
Views:
15
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.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform