Home All Groups Group Topic Archive Search About
Author
7 Mar 2006 10:40 PM
Sid
Here is what I would like to do, I have a large textbox with a
horizontal scroll bar and lots of text. I would like to memorize the
value of the scroll bar so that I can go back to certain text.  I
tried .selstart which brings me back to the text but  the scroll bar
positiion is slightly different and drives me crazy

Thanks

Author
7 Mar 2006 10:52 PM
Ken Halter
<S**@aol.com> wrote in message
news:0q2s02lj63f542t7bs14n3ksonn5tfrj1a@4ax.com...
> Here is what I would like to do, I have a large textbox with a
> horizontal scroll bar and lots of text. I would like to memorize the
> value of the scroll bar so that I can go back to certain text.  I
> tried .selstart which brings me back to the text but  the scroll bar
> positiion is slightly different and drives me crazy
>
> Thanks

Basically, that'll require you to fire up Spy++ and watch the message
traffic as you scroll. Once you find out what's sent, you can usually use
the SendMessage API to duplicate the traffic. Here's a start....

textbox scroll event?
http://groups.google.com.my/group/microsoft.public.vb.general.discussion/tree/browse_frm/thread/19c0175e1eb2d09a/

--
Ken Halter - MS-MVP-VB - Please keep all discussions in the groups..
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm