[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.


--- 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 Details: 
+Status: NEW   
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: contact at i-nz.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+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 #
+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 #
+ChangeLog:        for the whole window (otherwise we get WM_MOUSE_LEAVE
+twice for
+ChangeLog:        - Worked around 'bug' in Win32
+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:
+PostMessage (MouseWindow.Handle, Msg.WM_MOUSE_LEAVE, IntPtr.Zero, IntPtr.Zero);
+XplatUIStructs.cs:              WM_MOUSE_LEAVE            = 0x0402,
+XplatUIWin32.cs:                        // We need to fake
+XplatUIX11.cs:                                  msg.message=Msg.WM_MOUSE_LEAVE;
+XplatUIX11GTK.cs:                                       msg.message =

More information about the mono-bugs mailing list