A
Alan
Hi all,
I use one worker thread to do some lengthy stuff. During doing those things,
I want to output some text to my main thread with message loop. I use one
textbox that is created in main thread.
the key code like this:
this.TextBox.Focus();
this.TextBox.SelectionStart = this.TextBox.Text.Length;
this.TextBox.ScrollToCaret();
But the result is the cursor still remained at start! Are there any ideas?
Thanks.
Alan
I use one worker thread to do some lengthy stuff. During doing those things,
I want to output some text to my main thread with message loop. I use one
textbox that is created in main thread.
the key code like this:
this.TextBox.Focus();
this.TextBox.SelectionStart = this.TextBox.Text.Length;
this.TextBox.ScrollToCaret();
But the result is the cursor still remained at start! Are there any ideas?
Thanks.
Alan