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
Miscellaneous
Thread ID:
00815975
Message ID:
00816099
Views:
26
Victor -
Thanks for your help. However, I apologize for my stupidity. After looking at my window (a FoxPro form for test purposes), I realized that I only have one object on the form--a text box. Also, my SendInput API call is in the GotFocus event. So when I move the arrow keys past the buffer for the text box it loses focus but immediately regains focus because it is the only object on the form. Thus, the GotFocus event fires again, which then calls the SendInput API again, and hence the keyboard events are sent to the box again.

Thanks again, but sorry for my ignorance!
Brent
Brent L. Hackett
Previous
Reply
Map
View

Click here to load this message in the networking platform