Problem in ToolStripProgressBar painting (VS.Net 2010, WinForms).

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • priyamtheone
    New Member
    • Sep 2007
    • 88

    #1

    Problem in ToolStripProgressBar painting (VS.Net 2010, WinForms).

    Ensure ApplyVisualStyl es is enabled in your system. Place a ToolStripProgre ssBar 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 ToolStripProgrs sBar 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.
  • priyamtheone
    New Member
    • Sep 2007
    • 88

    #2
    It seems to be a bug. To remedy it is to handle SystemEvents.Us erPreferenceCha nged for e.Category=Visu alStyle and change the Progressbar.Sty le to something and back again.

    Comment

    Working...