473,480 Members | 1,877 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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

88 New Member
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.
Aug 4 '12 #1
1 2122
priyamtheone
88 New Member
It seems to be a bug. To remedy it is to handle SystemEvents.UserPreferenceChanged for e.Category=VisualStyle and change the Progressbar.Style to something and back again.
Aug 25 '12 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

6
1880
by: Raphaël ARBUZ | last post by:
Hi everybody I have tried to create a Windows Application with an Oracle Connection to a base, but each time the program comes to my line : Connection1.Open(); it generates an exception.in...
0
1138
by: Nikki | last post by:
Hi, I m developing a windows c#.NET application in which text scrolls from right to left (STOCK TICKER). While scrolling the text keeps changing. (TICKER VALUES KEEP UPDATING) Now the problem that...
2
2137
by: Peteroid | last post by:
When the application I'm working on is run it creates a panel with a Paint event customized to draw primitives (circles, rectangles, etc.), places the panel on a form, and then launches the form....
3
2403
by: Kenneth Siewers Møller | last post by:
Hi there I have a rather annoying problem. In .NET 1.1 I could have 20 controls (labels, textboxes etc) without any problem and the painting went satisfying. Now in .NET 2.0 whenever I have more...
1
2445
by: DigitalMythic | last post by:
Just to set the scene, I have a listbox in an application which im working on. The List box will have owner drawn items in it when it has items. To start with the listbox is empty. What Im...
2
4522
by: Aled Hughes | last post by:
Hi, I have an MFC application that has a CDialog based dialog box that contains a .net UserControl (via DDX_ManagedControl) as well as a native edit control which has the ES_NUMBER style set. Now...
2
9029
Airslash
by: Airslash | last post by:
Hello, I'm not an expert on writing C# code, but I've been busy alot on a multithreaded application to manage database information. I've finally managed to get the multithreading part working, by...
1
1173
by: VictorLeo | last post by:
I have an application that this throws with VS 2008 and LINQ everything works well, the problem is when I try to create an installer for this project. Adding a project to install add the main...
2
1586
by: kashif73 | last post by:
Hi, I have a strange problem in displaying of reports on Windows XP and Vista. My crosstab query display mission records for a particular month, for employees of my organisation. For example if I...
1
3437
dsatino
by: dsatino | last post by:
My company has recently been upgrading all operating systems to Windows 7 and all MS Office products to the 2010 version. I've managed to update/modify all code to run on both the .mdb and .accdb...
0
7055
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6920
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7059
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7103
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7010
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4799
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3011
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1311
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
203
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.