Just found out a good feature WM_PRINT and WM_PRINTCLIENT
This might 'print' a hidden progressbar to a hdc (like an ownerdrawn listview?)
It's not a good idea to use separate controls.
------------------
http://www.hellobasic.com
Announcement
Collapse
No announcement yet.
Listview with ProgressBar
Collapse
X
-
I'm building a download manager for a client. He wants to be able
to supply a filename with URL's and my program will download them.
He also requests that it shows the filename and a Progress bar
indicating the current process.
Also he wants it to download all files at the same time.
So I imagine something like Napster.
I'm just wanting an easy way to do this. I'm leaning towards
using the column in the listview as a progress bar, I think if
I create 100's of Progress Bar controls, I might run into problems.
Any ideas?
------------------
-Greg
[This message has been edited by Gregery D Engle (edited October 18, 2001).]
Leave a comment:
-
Listview has 2 columns.
FileName | Progress
Or are you just trying to put progress text in the second column of the listview, like "processed 1234 of 5678 records?" In this case, you can just use the LVM_SETITEM message; or (again what I'd do), set up the listview to request callbacks for its text, and build the needed text string when the listview control asks for it.
More Info / Better Description of underlying application needed.
MCM
Leave a comment:
-
Listview with ProgressBar
Listview has 2 columns.
FileName | Progress
...
...
Any ideas on how to do this with PB?
------------------
-GregTags: None
Leave a comment: