Re: Sendkeys V Sendmessage
Quote:
Originally posted by Skreen
My problem is that using the sendmessage changes the window caption/title of the other application instead of pass in the keystrokes.
What am I doing wrong or should I give up on sendmessage and stick to sendkeys?
The problem is that it is working, just not the way you wanted to ;). If you pass SendMessage the hWnd of a window, it will change the caption. To "send" keystrokes, you will need to get the handle of the textbox or whatever. There was a thread about this a couple of weeks ago, I will look around for it.
:)