-
August 4th, 2012, 11:50 AM
#1
Problem in ToolStripProgressBar painting (VS.Net 2010, WinForms).
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.
-
August 25th, 2012, 11:54 AM
#2
Re: Problem in ToolStripProgressBar painting (VS.Net 2010, WinForms).
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.
-
August 25th, 2012, 01:29 PM
#3
Re: Problem in ToolStripProgressBar painting (VS.Net 2010, WinForms).
Don't post TWICE, please...
-
September 3rd, 2012, 11:33 AM
#4
Re: Problem in ToolStripProgressBar painting (VS.Net 2010, WinForms).
Originally Posted by dglienna
Don't post TWICE, please...
They are not the same post posted twice. First one is the problem; second one, the workaround to deal with it. Posted it so that someone else can be helped.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|