> Here is a good guide for designing icons which look great in XP, but > degrade gracefully with less graphical OSs: > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwxp/html/ winxpicons.asp
I've seen that article before but it doesn't address the problem here (well, it suggests you produce icons in all three colourdepths at all three sizes, and if I'd done that this problem wouldn't occur, so I guess you could argue it does). The specific issue was, what would happen if XP couldn't find the icon resource type it wanted? The systray icons on Windows OSs are 16x16x4 colours, except on Windows XP, where 16x16xtrue colour images are supported. Given the choice of 32x32xtrue colour or 16x16x4 colour images in the resource table of freenet.exe, when XP extracts an icon suitable for the systray it will extract the 32x32 image and downsample it, rather than extract the 16x16 image and promote the colourdepth. This sounds broken to me. I originally assumed it would do the latter but it wasn't until I actually had a chance to try it on XP that I discovered XP doesn't take the sensible approach. The solution would seem to be to simply add a 16x16xtrue colour resource to the (already bloated) icon table for freenet.exe d _______________________________________________ devl mailing list devl at freenetproject.org http://hawk.freenetproject.org:8080/cgi-bin/mailman/listinfo/devl
