[Mono-bugs] [Bug 80758][Wis] Changed - [WIN] DrawIcon does not work
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Feb 9 12:07:16 EST 2007
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by sebastien at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=80758
--- shadow/80758 2007-02-09 11:47:34.000000000 -0500
+++ shadow/80758.tmp.32570 2007-02-09 12:07:16.000000000 -0500
@@ -118,6 +118,15 @@
It looks like GDI+ doesn't like something about the icon (format ?)
saved in the stream (from which the bitmap is created).
E.g. If I save the ico to a file, GDI+ won't load it back without an
error. OTOH Windows' Explorer does show the icon properly...
+
+------- Additional Comments From sebastien at ximian.com 2007-02-09 12:07 -------
+The good news is that it's not a problem Mono's icon saving code. The
+original icon can't by loaded by MS GDI+ ICO codec either. However the
+MS Icon class can load it (like Mono).
+
+I'll have to find an alternative way to convert the icon to a bitmap -
+at least for win32. In the mean time drawing most icons should work
+under win32, as much as the GDI+ codec accept them.
More information about the mono-bugs
mailing list