Hi,
I'm not SURE if Visual Styles is what I'm delaing with, but there is my
situation. On computer A which I have chosen "Classic Windows" as my
"Theme" my application appears the way I want it to. That is my progress
bars are solid when I tell them to be, my tool strips aren't blue, etc.
On my other machine which has the default XP look or "Theme" my app's
controls look different. My Progress bar is green bars, no matter what
color I set it to, my toolbars are blue, etc.
I've done some searching and it seems there are many ways to enable visual
styles, but I haven't found a way to disable them. I'm sure it's obvious,
but I can't find it.
I found this code;
Application.EnableVisualStyles();
VisualizerType = typeof(WinFormsVisualizer);
In the constructor of 'WindowsFormsApplication' which is the base
application class for my Composite Application Block app. I commented out
that line and they are still enabled.
Thanks for any help on this.
-Steve