I have a listbox that contains a bunch of file downloads, i want to add a progress bar to the current download to let the user know the progress of the download. I cannot figure out how to do this.
+1
A:
You need to use owner drawn list box
Use a normal ListBox and set DrawMode = DrawMode.OwnerDrawFixed and handle the two events MeasureItem and DrawItem.
The downside is that you have to take care of all the drawing yourself, but at least text and a progress bar are easy to draw.
Nir
2009-03-23 21:07:51
A:
Why ListBox? Use ListView, with a simple Google you find ton of ListView+Progress Bars.
Shay Erlichmen
2009-04-03 14:42:40