Ensure ApplyVisualStyles is enabled in your system. Place a ToolStripProgressBar on a toolstrip, run your application and minimize the form. Now change the theme of your computer to Windows Classic and restore the form. See the interior of the ToolStripProgrssBar becomes black. It doesn't even change if you refresh the form. How does the user know the status of the progress if it remains black always? Any approach to fugure it out? Regards.
1 Replies - 11246 Views - Last Post: 25 August 2012 - 09:17 AM
Replies To: Problem in ToolStripProgressBar painting (VS.Net 2010, WinForms).
Re: Problem in ToolStripProgressBar painting (VS.Net 2010, WinForms).
Posted 25 August 2012 - 09:17 AM
It seems to be a bug. One way to remedy it is to handle SystemEvents.UserPreferenceChanged for e.Category=VisualStyle and change the Progressbar.Style to something and back again.
Page 1 of 1