overriding XP styles in ProgressBar

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've written an app in VB.NET 2005 Beta that monitors temperature of several
devices. I am using the ProgressBar for visual indication of temperature;
all readings in expected range cause the bar to be blue continuous and when
that threshold is exceeded the bar turns red continuous.

This worked fine in Windows 2000. However, when I bring this into Windows
XP, visual styles override my ProgressBar color and style settings. I only
get a green segmented indicator regardless of what my code says.

I want the XP style to dictate appearance of other controls, just not the
ProgressBar. Is there any way to override styles on just that component?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top