We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Marquee Style Progress Bar

Hi, I have read the MSDN Library for information on making a marquee style progress bar - one that keeps on repeating for when you're unsure of the current progress. The two methods I can see is to CreateWindowEx with the PBS_MARQUEE style, or to SendMessage with PBM_MARQUEE. How can I do it with the Windows Forms controls? It already creates the control with the default style; it's a sealed class I can't derive from (I was thinking of overriding the constructor). SendMessage doesn't seem to work; besides, the constant definition is inside commctrl.h which doesn't come with .NET. Also, is it possible to do a smooth progress bar? Thanks.

Loader.
Live Chat Icon For mobile
Up arrow icon