* ScrollBar.cs: Scrollbars should only react to left-clicks, not right or middle ones. Fixes part of #393908. svn path=/trunk/mcs/; revision=104325
@@ -1,3 +1,9 @@
+2008-05-28 Carlos Alberto Cortez <[email protected]>
+
+ * ScrollBar.cs: Scrollbars should only react to left-clicks, not right
+ or middle ones.
+ Fixes part of #393908.
2008-05-28 Jonathan Pobst <[email protected]>
* ToolStripDrowDown.cs: When using the Show () methods that have a
@@ -1066,7 +1066,7 @@ namespace System.Windows.Forms
{
ClearDirty ();
- if (Enabled == false)
+ if (Enabled == false || (e.Button & MouseButtons.Left) == 0)
return;
if (firstbutton_state != ButtonState.Inactive && first_arrow_area.Contains (e.X, e.Y)) {