[Mono-bugs] [Bug 80604][Nor] Changed - Form.Visible should return true during OnLoad

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Mar 19 03:19:25 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 toshok at ximian.com.

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

--- shadow/80604	2007-03-12 17:15:52.000000000 -0500
+++ shadow/80604.tmp.14013	2007-03-19 02:19:25.000000000 -0500
@@ -115,6 +115,23 @@
 control and set Visible to true.
 
 ------- Additional Comments From toshok at ximian.com  2007-03-12 17:15 -------
 committed the patch and enabled gert's unit test.  The remaining test
 case seems to hinge on other brokenness.  Going to take a look and
 possibly close this bug (with a redirect to the other bug)
+
+------- Additional Comments From toshok at ximian.com  2007-03-19 02:19 -------
+okay, so this seems to hinge on the fact that in our X implementation,
+WM_SHOWWINDOW is generated as a notification *after* the window has
+been shown or hidden, but on win32, it is generated *before* the
+window has been shown or hidden.
+
+The text of the <a
+href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/windows/windowreference/windowfunctions/setwindowpos.asp">msdn
+ page</a> says:
+
+"The WM_SHOWWINDOW message is sent to a window when the window is
+about to be hidden or shown."
+
+note the "about to be".
+
+sigh.


More information about the mono-bugs mailing list