Possible Duplicate:
Disable WinForms ProgressBar animation
I’m using a progress bar for instrumenting some data coming from our radio and the ‘shimmering’ of it is unacceptable. Also, slow update rate data is animated to the value each time instead of instantly moving. This behavior does not provide the same visual experience one would expect from instrumentation. I realize the progress bar is not meant for this purpose but it’s what’s in my toolbox.
Using the ‘pause’ command from this link does not allow me to continue updating the value because it is paused. Changing back to normal, updating the value and then pausing again does not seem like a good solution. Also, the pause by default turns yellow so in addition to all the above I would need to turn the color back to green.
Can someone suggest how to turn this animation off or suggest a 3rd party ‘instrumentation toolbox’?
Off the top of my head, this may work: Disable Visual Styles. In your
Program.Mainmethod, which Visual Studio has generated, you should see something like this:If you comment out that line, that may make your application look a bit “older” but I don’t think you’ll have the animated progress bar. Maybe that should help.