Thread: Refresh ProgressBar

  1. #1
    Registered User
    Join Date
    Oct 2003

    Refresh ProgressBar

    Hi, I'm trying to experiment alittle with C#, I'm new to it.

    I'd like to know how to refresh a progress bar so the "ugly blue boxes" arn't still hanging around after a file has loaded. Is there a way to refresh the progress bar?

    Something like -> progressBar1.Refresh();


  2. #2
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Hannover, Germany
    What do you mean by "hanging around" ? You can clear the ProgressBar by setting the Value to MinValue.

    If you need to refresh it because it doesn't redraw itself properly, you can use Invalidate and Update.

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  3. #3
    Registered User
    Join Date
    Oct 2003
    Yes I meant "Refresh" or redraw the control. Thank you for the reply. I figured it out.


Popular pages Recent additions subscribe to a feed

Similar Threads

  1. progressbar
    By munna_dude in forum C Programming
    Replies: 8
    Last Post: 06-21-2007, 06:17 AM
  2. ListView Refresh, Update
    By de4th in forum C++ Programming
    Replies: 1
    Last Post: 12-23-2006, 09:13 AM
  3. Monitor Refresh Rates
    By SlyMaelstrom in forum Tech Board
    Replies: 4
    Last Post: 05-24-2006, 01:08 PM
  4. curses problem
    By rajesh23 in forum Linux Programming
    Replies: 2
    Last Post: 10-07-2003, 07:27 AM
  5. Progressbar as Part of Statusbar :: MFC
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 04-26-2002, 08:59 AM