Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Colors in notifyIcon

Status
Not open for further replies.

Bobbber

Programmer
Sep 6, 2002
83
TR
Hi guys,

I have created some icon files (256 color). They look great. I'm using the notifyIcon to put these icons into the system tray thus :

System.Drawing.Icon ico = new System.Drawing.Icon("checking.ico");
sysTray.Icon = ico;

However, when the icon is in the system tray, it looks like it's been rendered in 16 colors or something!

Is this correct, can I get round this problem!?!?!

(It's in Windows 2000)

Thanks!

Rob



Stay Blue, Bob. x
 
I think in Win2k it only supports 16-color icons in the system tray. Win XP supports 256-color icons there.

Chip H.


If you want to get the best response to a question, please check out FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top