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