Hi,
I am using a richtext box(RTB) which is editable in c# .net2.0.
Text keeps adding to the RTB through other control. Now, say the user has selected some text, addition of new text to the RTB will cause the user to loose the control of the current text selection.
I have fixed half the issue, where i'm storing the current text position and length. After addition of new text, i'm restoring the cursor to previous position.
But if i have selected a text from the center of the window, the restoration should not move the window position.
Can you help me in resolving this issue. It should not move the current window position.
thanks in advance,
Geeta