[Mono-bugs] [Bug 80835][Nor] New - WM_MOUSELEAVE not fired - a custom WM_MOUSE_LEAVE is

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Feb 13 13:00:50 EST 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 contact at i-nz.net.

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

--- shadow/80835	2007-02-13 13:00:50.000000000 -0500
+++ shadow/80835.tmp.26444	2007-02-13 13:00:50.000000000 -0500
@@ -0,0 +1,52 @@
+Bug#: 80835
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: contact at i-nz.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: WM_MOUSELEAVE not fired - a custom WM_MOUSE_LEAVE is
+
+In the code a custom message WM_MOUSE_LEAVE is used instead of the
+WM_MOUSELEAVE. Probably a confusion because there is no WM_MOUSEENTER msg.
+This will break stuff that relies on receiving a WM_MOUSELEAVE in the WndProc.
+
+
+magrathea:/svn/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms #
+grep WM_MOUSELEAVE *
+XplatUIStructs.cs:              WM_MOUSELEAVE             = 0x02A3,
+XplatUIStructs.cs:              WM_MOUSELEAVE           = 0x02A3,
+XplatUIWin32.cs:                                case Msg.WM_MOUSELEAVE: {
+
+
+
+magrathea:/svn/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms #
+grep WM_MOUSE_LEAVE *
+ChangeLog:        for the whole window (otherwise we get WM_MOUSE_LEAVE
+twice for
+ChangeLog:        - Worked around 'bug' in Win32
+WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
+ChangeLog:        - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
+ChangeLog:        - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
+ComboBox.cs:                    case Msg.WM_MOUSE_LEAVE:
+Control.cs:                     case Msg.WM_MOUSE_LEAVE: {
+InternalWindowManager.cs:                       case Msg.WM_MOUSE_LEAVE:
+XplatUIOSX.cs:                                                         
+PostMessage (MouseWindow.Handle, Msg.WM_MOUSE_LEAVE, IntPtr.Zero, IntPtr.Zero);
+XplatUIStructs.cs:              WM_MOUSE_LEAVE            = 0x0402,
+XplatUIWin32.cs:                        // We need to fake
+WM_MOUSE_ENTER/WM_MOUSE_LEAVE
+XplatUIWin32.cs:                                       
+msg.message=Msg.WM_MOUSE_LEAVE;
+XplatUIX11.cs:                                  msg.message=Msg.WM_MOUSE_LEAVE;
+XplatUIX11GTK.cs:                                       msg.message =
+Msg.WM_MOUSE_LEAVE;


More information about the mono-bugs mailing list