Detecting a Listview scroll in VB.Net

J

Jeff

How can I detect when a user scrolls a listview (using VB.Net)? There
doesn't seem to be an event triggered by the scroll.

Also, if possible, how can I determine how far the listview was
scrolled and in what direction? (I'd guess that the TopItem property
would be useful for this purpose, but I'd still need something like a
scrolled event.)

Thanks for your help.

- Jeff
 
D

Daniel Moth

I've had to work around these issues (lack of TopItem and scroll event) by
superimposing over the listview's scrollbar my own scrollbar and managing
the scrolling myself (.EnsureVisible is the main helper)... Ugly but
works....

Cheers
Daniel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top