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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Oct 3 12:48:00 EDT 2008


User calberto.cortez at gmail.com added comment

--- Comment #4 from Carlos Alberto Cortez <calberto.cortez at gmail.com>  2008-10-03 10:47:59 MDT ---
Don't change lines that are not needed to be changed:

+                       #endif


-                                       owner.SelectedItems.Clear ();
+                                       owner.SelectedItems.Clear();

Or change the method or access modifiers of members you are not using.

Finally, I was talking about that in ItemControl we handle the events, then
fire them in the parent, such: 

private void ItemsMouseDown (object sender, MouseEventArgs me)
           owner.OnMouseDown (owner.TranslateMouseEventArgs (me));

You have to keep the things in that spirit: and *not* use the another approach,
since it could introduce unneccessary complexity. 

In other word: remove the Mouse* related events hookups, and apply something
like the one we are using now.

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