mirror of
https://github.com/Kopano-dev/kopano-ol-extension.git
synced 2023-10-10 13:37:40 +02:00
[KOE-125] Fixed mouse wheel handling for combo box
This commit is contained in:
parent
1b509495c8
commit
334aeabc9d
@ -381,5 +381,17 @@ namespace Acacia.Controls
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected override void DefWndProc(ref Message m)
|
||||||
|
{
|
||||||
|
switch ((WM)m.Msg)
|
||||||
|
{
|
||||||
|
// Forward mouse wheel messages to the list
|
||||||
|
case WM.MOUSEWHEEL:
|
||||||
|
m.Result = (IntPtr) User32.SendMessage(_list.Handle, m.Msg, m.WParam, m.LParam);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
base.DefWndProc(ref m);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -45,7 +45,9 @@ namespace Acacia.Native
|
|||||||
|
|
||||||
LBUTTONDOWN = 0x0201,
|
LBUTTONDOWN = 0x0201,
|
||||||
RBUTTONDOWN = 0x0204,
|
RBUTTONDOWN = 0x0204,
|
||||||
MBUTTONDOWN = 0x0207
|
MBUTTONDOWN = 0x0207,
|
||||||
|
|
||||||
|
MOUSEWHEEL = 0x020A,
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user