Carmen,
In order to do this, you will have to catch when the value on the big
scrollbar changes. When it does, you will have to set the position of the
appropriate scrollbar in the listbox (you can do this by making a call to
the SetScrollInfo API function through the P/Invoke layer).
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"carmen" <ce*********@yahoo.es> wrote in message
news:OC**************@TK2MSFTNGP11.phx.gbl...
I need to have in a form a listbox with a big scrollbar (I'm working for a
touchscreen). As the scrollbar that the listbox has is small, I put a
listbox withou scroll and a scrollbar independent. How could I associate
the two controls to work as if they where only one?
Thank you for your help
Carmen