[Mono-bugs] [Bug 79378][Min] Changed - Prevent a user from moving a form during runtime doesn't work
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Apr 3 14:13:28 EDT 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 rolfkvinge at ya.com.
http://bugzilla.ximian.com/show_bug.cgi?id=79378
--- shadow/79378 2007-03-22 05:10:52.000000000 -0500
+++ shadow/79378.tmp.11198 2007-04-03 14:13:28.000000000 -0400
@@ -52,6 +52,15 @@
}
Found at Windows Forms FAQ forums.
------- Additional Comments From monkey at jpobst.com 2006-12-01 22:57 -------
This works correctly on windows, so this is probably an X11 only issue.
+
+------- Additional Comments From rolfkvinge at ya.com 2007-04-03 14:13 -------
+Looks like on Windows it's DefWndProc that moves the form, while on X
+it's the window manager, so there's no easy way to support this,
+especially since X only notifies us after the form has moved.
+
+The only way I see would be to send those messages when the form has
+moved, see if DefWndProc gets them, and if not move the form back to
+where it was.
More information about the mono-bugs
mailing list