I don’t know how long an action could take and I want to display a progress bar to the user in a dialog box. I’ve tried using System.Windows.Forms.ProgressBar but it doesn’t seem to support it.
An example of what I’d want is the progress bar that windows shows you when it’s looking for new drivers on the internet. It’s just got three or four ‘bars’ going back and forth marquee style on the progress bar.
How can I do this?
System.Windows.Forms.ProgressBar has a property called
Style. SettingStyletoMarqueewill achieve the effect your looking for.EDIT: Divo points out the Marquee Style is only available on
The comments provide even more information indicating that this appears to work everywhere as long as you’re using .NET 2.0 or higher.