CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 9 of 9
  1. #1
    Join Date
    Mar 2000
    Posts
    45

    Message of "2 out of 5" using Progress Bar

    Hello!!

    How to get a message "2 out of 5" has been completed while using progress bar?

  2. #2
    Join Date
    Apr 2010
    Posts
    13

    Re: Message of "2 out of 5" using Progress Bar

    Idk if I can help you but idk if anyone is on to help either of us, would you possibly be of any assistance with arrays?

  3. #3
    Join Date
    Sep 2004
    Location
    Holland (land of the dope)
    Posts
    4,123

    Re: Message of "2 out of 5" using Progress Bar

    What are you 2 talking about ?

  4. #4
    Join Date
    Mar 2000
    Posts
    45

    Re: Message of "2 out of 5" using Progress Bar

    I am saying while using progress bar, if there are 10 files, and 3 files already downloaded, then i do want to see text "3 out of 10" on progress bar window, after 4th file downloaded, then "4 out of 10" on progress bar window.

    How can i achieve this?

  5. #5
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: Message of "2 out of 5" using Progress Bar

    Is your problem in displaying the text on the progress bar or in identifying that some file has been downloaded?
    Victor Nijegorodov

  6. #6
    Join Date
    Mar 2000
    Posts
    45

    Re: Message of "2 out of 5" using Progress Bar

    My problem is both. I do want to display text on progress bar along with message that "x" files downloaded out of "y". i.e. "x" out "y"

    Pls see below image
    Attached Images Attached Images  

  7. #7
    Join Date
    Nov 2003
    Location
    Belgium
    Posts
    8,150

    Re: Message of "2 out of 5" using Progress Bar

    Marc Gregoire - NuonSoft (http://www.nuonsoft.com)
    My Blog
    Wallpaper Cycler 3.5.0.97

    Author of Professional C++, 4th Edition by Wiley/Wrox (includes C++17 features)
    ISBN: 978-1-119-42130-6
    [ http://www.facebook.com/professionalcpp ]

  8. #8
    Join Date
    Apr 2000
    Location
    Belgium (Europe)
    Posts
    4,626

    Re: Message of "2 out of 5" using Progress Bar

    the default Windows progressbar doesn't do this. So either you need to do your own custom drawing handling to paint a progressbar in any way you want, or you use a premade class/control that has the features you want. (see links from Marc G)

  9. #9
    Join Date
    Mar 2000
    Posts
    45

    Re: Message of "2 out of 5" using Progress Bar

    Well Thanks a lot Marc G & O Reubens.

    I have already been to these links. I was having some issue in setting my requirement, which i have achieved it successfully.

    Thanks!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured