U
Ulrich Sprick
Hi all,
how can select some text in the textbox, but have the caret on the LEFT side of the selection? You can do that with the mouse by
drawing the mouse cursor from right to left over some text. But how can it be done programmatically?
I played around with textbox.SelectionStart and .SelectionLength, and .Select(pos, len), but negative values for SelectionLength
throw an exception. Do I have to send a WM_ or EM_ message to the window handle?
Thanks in advance,
ulrich
how can select some text in the textbox, but have the caret on the LEFT side of the selection? You can do that with the mouse by
drawing the mouse cursor from right to left over some text. But how can it be done programmatically?
I played around with textbox.SelectionStart and .SelectionLength, and .Select(pos, len), but negative values for SelectionLength
throw an exception. Do I have to send a WM_ or EM_ message to the window handle?
Thanks in advance,
ulrich