I'm a bit new to the .net stuff, so can someone help me. I want to use extended multiselect with a ListView control. I can do it with VB6 but now I'm a bit lost.
on mouse down set the point to the mouse's position.
on mouse move find all of the list items that are displayed between the two points (the point on mouse down, and the point on mouse move). This will be the tricky part as you'll have to figure out which rows are in your selected area. a combination of row height and visiblerows may be helpful.
you can also add code so that when the mouse is towards the buttom or top of the listbox the list will scroll while selecting.
It's not the easiest thing to impliment. but it sounds like a fun project. Much more entertaining then my morning chore of debugging a 6 year old excel file
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.