BUG: C# 2008 Express changed the tooltip color in all Vista's wind

B

BillD

I have installed C# 2008 Express edition in Windows Vista, and I
found this huge bug:
the tooltip shown to the up corner of a window has the old yellow style
color.
Minimize, Maximize, Close buttons show a yellow tooltip in Explorer and all
other programs; instead buttons, system tray icons and other UI elements show
Vista grey style tooltip.
It seems VS2008 Express has changed some Vista shell dll files.
 
M

Michael Nemtsev [MVP]

Hello BillD,

have u tried to restart your PC?

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


B> I have installed C# 2008 Express edition in Windows Vista, and I
B> found this huge bug:
B> the tooltip shown to the up corner of a window has the old yellow
B> style
B> color.
B> Minimize, Maximize, Close buttons show a yellow tooltip in Explorer
B> and all
B> other programs; instead buttons, system tray icons and other UI
B> elements show
B> Vista grey style tooltip.
B> It seems VS2008 Express has changed some Vista shell dll files.
 
F

Family Tree Mike

Make sure your main program code (usually program.cs) has a line:

Application.EnableVisualStyles();
 
F

Family Tree Mike

Sorry. I understand now, and it is the same for me. Are you sure it was
different prior to installing C# Express 2008?
 
W

Willy Denoyette [MVP]

Family Tree Mike said:
Sorry. I understand now, and it is the same for me. Are you sure it was
different prior to installing C# Express 2008?

This the the Vista's default behavior, VS2008 has nothing to do with this, I
have this on Vista systems without VS200X installed..

Willy.
 
B

BillD

Family Tree Mike said:
Sorry. I understand now, and it is the same for me. Are you sure it was
different prior to installing C# Express 2008?

yes, I'm sure.
 
M

Marra

I found that when I went to .net 3 that Windows Vistas mouseoevr
shades the button a very light color.
This was a disaster as my text was all white !
I just recoloured my text black and everything is fine now.

If your program uses key presses beware of the openfiledialog as this
doesnt return focus to the main windows when it closes !
 
F

Family Tree Mike

After I posted, I looked on my wife's computer, and it behaves the same. C#,
express or otherwise, is that last thing she needs on her computer...
 
W

Willy Denoyette [MVP]

Family Tree Mike said:
After I posted, I looked on my wife's computer, and it behaves the same.
C#,
express or otherwise, is that last thing she needs on her computer...

Yep, the top level Window Frames are handled by the DWM, who draws the
tooltip using the settings (color, font and weight) from the current "Window
Color Appearance" - "Classic appearance properties/advanced" settings.


Willy.
 

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

Top