Quote Originally Posted by danasegarane
I am using two textboxes.Both the textboxes their scrollbars.What I want is ,How to other textbox when the any of the text box is scrolled
I found out how.

You need to subclass the textbox.

And when you receive the WM_VSCROLL message, you need to scroll the other textbox via SendMessage.

You can find out how to scroll another textbox programatically here:

http://support.microsoft.com/kb/73371