[Mono-bugs] [Bug 429153] ListView: WndProc Mouse Events

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Oct 3 20:02:57 EDT 2008


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

User johnm at hlaustralia.com.au added comment
https://bugzilla.novell.com/show_bug.cgi?id=429153#c5





--- Comment #5 from John Mortlock <johnm at hlaustralia.com.au>  2008-10-03 18:02:56 MDT ---
I'm not sure how it is possible to fix this problem without the Main ListView
handling the mouse events.

Let me try to explain.

Currently the mouse events will follow this path

ItemsControl
DerivedListView (via Owner.OnMouseXXX())
ListView

MS .NET has them follow this path

DerivedListView
ListView
(ItemsControl)

The problem with the first case is the derived listview never has a chance to
manipulate the WM_MOUSE events before the ItemsControl.

We should be able to override the WndProc in the DerivedListView and have the
ability for the WM_MOUSE events (or any other) from reaching the items control
at all.

Now if only MS would add an ExtendedSelect to ListView then we wouldn't need
this conversation ;)


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list