Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: Progress bar embeded in Listview


Message #1 by "Manoj Agarwal" <manoj.agarwal@c...> on Thu, 13 Mar 2003 22:09:20
I haven't used kazaa, but I have seen what you are requesting. Although 
the grids that I have seen people use for that have not been listviews (or 
at least I don't think they have). 

There are two options that you could use (that I can think of):
1) Create a new ActiveX control, and have it dynamically create a progress 
bar for each row that you want to note. Have the progress bars be the 
width of the cell that you want to "have" a progress bar. Then just float 
them over that cell. The issue with this is that you may have issues if 
the list view is scrolled. There isn't a scroll event for the list view.
  A) The DBGrid has a scroll event. I haven't used it, so I don't know if 
it would be useful.
  B) MSFlexGrid has a scroll event.
  C) DataGrid also has a scroll event.
By Using one of these grids your control could react when the user 
scrolls. I would expect that this is important to what you are doing, 
unless you KNOW that the user can not scroll the grid.

2) You could purchase a 3rd party grid that has this feature, or at least 
a picture feature that you could create a progress bar image to fill it 
with. (Changing the picture as the progress changes.)



> Can anyone tell me how can I get an embeded progress bar in the 
ListView? 
(> Like kazaa and many other download programs show.)

> Thanks!
M> anoj.

  Return to Index