[Mono-bugs] [Bug 77089][Nor] Changed - A Form shouldn't be resizable if Form.FormBorderStyle is set to FixedDialog and Form.MaximizeBox to false

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Mar 13 14:51:53 EST 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 xenomorph2 at onlinehome.de.


--- shadow/77089	2006-03-13 14:23:24.000000000 -0500
+++ shadow/77089.tmp.861	2006-03-13 14:51:53.000000000 -0500
@@ -83,6 +83,24 @@
 with minimum_size = maximum_size could (hopefully) solve it !?!
 ------- Additional Comments From peter at novonyx.com  2006-03-13 14:23 -------
 We are setting those hints.
+------- Additional Comments From xenomorph2 at onlinehome.de  2006-03-13 14:51 -------
+Oops, yes, I'm retarded.
+if ((functions & MotifFunctions.Resize) == 0) {
+				XplatUI.SetWindowMinMax(hwnd.Handle, new Rectangle(cp.X, cp.Y,
+cp.Width, cp.Height), new Size(cp.Width, cp.Height), new
+Size(cp.Width, cp.Height));
+			}
+Well, then I'm lost.
+The only thing that is left are Motif functions. The following is from
+This function isn't really good for much. It sets the traditional
+Motif window manager hint for which operations the window manager
+should allow on a toplevel window. However, few window managers do
+anything reliable or interesting with this hint. Many ignore it entirely.

More information about the mono-bugs mailing list