https://bugzilla.novell.com/show_bug.cgi?id=436772


           Summary: Form.MouseButtons is always None when detecting
                    WM_MOUSEMOVE in WndProc
           Product: Mono: Class Libraries
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          Found By: Community User


I was trying to use DockDotNet (http://sourceforge.net/projects/dockdotnet/) on
Mono, and noticed that floating windows could not be dragged around. This
library does some special handling to receive non-client notifications without
using P/Invokes, and it works using MS Windows Forms library.

I have extracted the minimum code required to reproduce this bug, you can
download it as a VS2008 project:
http://www.skakkinostri.it/files/ManagedFormsApp.zip

The project in the zip package uses MS Winforms, you can test it on windows and
see that the window can be dragged around by clicking on its caption. When
using MWF instead, the window does not move. I have added a Trace.WriteLine
call to display the value of MouseButtons - while on Windows returns correctly
Left, on MWF it returns None.

For MWF testing, I have used the SVN MWF, downloaded and built using the guide
available at http://www.mono-project.com/Guide:_Debugging_With_MWF (by the way,
the guide should be updated with the additional dependency on Mono.WebBrowser).


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to