[Mono-bugs] [Bug 78162][Nor] Changed - Setting a region with Control.Region has no effect

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Apr 25 12:58:38 EDT 2006

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 peter at novonyx.com.


--- shadow/78162	2006-04-25 09:16:01.000000000 -0400
+++ shadow/78162.tmp.12032	2006-04-25 12:58:38.000000000 -0400
@@ -50,6 +50,14 @@
 possibly be removed.
 ------- Additional Comments From sebastien at ximian.com  2006-04-25 09:16 -------
 Created an attachment (id=16824)
 Control.cs (partial) patch to support non-rectangular regions
+------- Additional Comments From peter at novonyx.com  2006-04-25 12:58 -------
+Sebastien, thanks for the patch. We're gonna have to do it a bit 
+different, to properly do it on Win32 as well. Win32 has SetWindowRgn 
+which is what this property really frontends. So we need to do the 
+region handling in the drivers, and, on X11 we also need to generate 
+the related window messages that SetWindowRgn causes. The patch logic 
+is still useful, to be used in the driver.

More information about the mono-bugs mailing list