http://bugzilla.novell.com/show_bug.cgi?id=538645


           Summary: Control.OnMouseWheel reports screen coordinates, not
                    client coordinates.
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: All
        OS/Version: Windows
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US)
AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.43 Safari/530.5

It reports client coordinates in .NET.

The problem is that oddly the coordinates in the LPARAM of a WM_MOUSEWHEEL
notification are screen coordinates but they are client coordinates on
WM_LBUTTON and others. See

http://msdn.microsoft.com/en-us/library/ms645608(VS.85).aspx
http://msdn.microsoft.com/en-us/library/ms645617(VS.85).aspx

Needs a PointToClient in WmMouseWheel.

Reproducible: Always

-- 
Configure bugmail: http://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