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


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

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

  1. #1
    Join Date
    Mar 2009
    Posts
    67

    Question 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.

  2. #2
    Join Date
    Mar 2009
    Posts
    67
    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.

Similar Threads

  1. VS.NET is freezing during debugging
    By Magnus Olsson in forum .NET
    Replies: 1
    Last Post: 02-24-2003, 06:40 PM
  2. vs.net problem
    By onderaydogan in forum ASP.NET
    Replies: 5
    Last Post: 10-02-2002, 12:39 PM
  3. Replies: 0
    Last Post: 02-07-2002, 06:41 PM
  4. PROBLEM: Creating Web App in VS.Net
    By jude kaider in forum ASP.NET
    Replies: 0
    Last Post: 12-10-2001, 11:40 AM
  5. Compilation problem with WinForms
    By Daniel Pratt in forum .NET
    Replies: 5
    Last Post: 08-29-2000, 12:12 PM

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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center