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 [EMAIL PROTECTED]

http://bugzilla.ximian.com/show_bug.cgi?id=80509

--- shadow/80509        2007-01-15 16:28:49.000000000 -0500
+++ shadow/80509.tmp.13442      2007-01-15 17:55:26.000000000 -0500
@@ -11,13 +11,13 @@
 AssignedTo: [EMAIL PROTECTED]                            
 ReportedBy: [EMAIL PROTECTED]               
 QAContact: [EMAIL PROTECTED]
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: Incorrect window icon
+Summary: [WIN] Incorrect window icon
 
 Description of Problem:
 If Form.Icon is set to an Icon created from a file that contains multiple 
 icons, the window displays the wrong icon.
 
 Steps to reproduce the problem:
@@ -78,6 +78,21 @@
 selection for such case.
 
 ------- Additional Comments From [EMAIL PROTECTED]  2007-01-15 16:28 -------
 I probably made a mistake when I created the test icon. I never meant 
 to use non-standard sizes. Otherwise using the 16x16 icon for the 
 window title bar seems to be the solution.
+
+------- Additional Comments From [EMAIL PROTECTED]  2007-01-15 17:55 -------
+Well it did make nice test cases ;-)
+
+r71088 fix the icon issue under UNIX. Icon.ToBitmap didn't respect the
+current icon's size, show the default (normally 32x32) was shown.
+
+Under Windows and MS SD/GDI+ (your original, unsolved, problem) I
+noted this:
+
+internal override void SetIcon(IntPtr hwnd, Icon icon) {
+       Win32SendMessage(hwnd, Msg.WM_SETICON, (IntPtr)1, icon.Handle); // 1
+= large icon (0 would be small)
+}
+
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to