Originally Posted by
WoF
If you have already established a method using FindWindowEx and GetWindowText, why not doing this always again whenever you want to get the text out of the textbox-window.
Run a timer which will do this chain of scanning:
a) Find the main window handle
b) find the window handle of the TextBox
c) Get the contents of the TextBox
Usually the handles of a window don't change until the window is closed and then reopened...
Another thought about getting the text from the TextBox:
Use SendMessage together with EM_GETTEXTEX code to fetch the text.
You can research this at MSDN, if you are unseccessful, I shall see if I can find some sample.