I'm downloading a collection of files, and I'd like to display progress in a progress bar. It's simple to display overall progress by setting the maximum value of the progress bar to the total size of all the files, and by setting the current position to the size downloaded so far.
What I'd like to do is separate the progress bar into segments, with each section representing a different file in the collection.
Is this possible? How would I do it?