Hi all,
Can i set the value of a text box in form of another application from my application. I want to set the values in one application by reading from a text file from my application. How can i do this.
Printable View
Hi all,
Can i set the value of a text box in form of another application from my application. I want to set the values in one application by reading from a text file from my application. How can i do this.
If you want to send text to an application which is created by yourself refer this article:
http://www.codeguru.com/cpp/w-p/syst...icle.php/c2879
Or if you want send to an application that you dont have full control then you can set the text by sending WM_SETTEXT message to the textbox you wish the value to appear.
Are both application written by you?
If not, how do you know that control that you are trying to set text draws text itself?
Not all windows react to WM_SETTEXT message the same way.
Some set text to a client area and some to a title bar (if window has WS_CAPTION style).