Robin 71105b8e77 Added ControlScrollFilter
ControlScrollFilter can be added to the application's message filter
list to re-route all mousewheel events to the control the user is
current hovering over with their cursor.
2015-09-18 13:33:10 +01:00

16 lines
405 B
C#

using System;
using System.Drawing;
using System.Runtime.InteropServices;
namespace DarkUI
{
public sealed class Native
{
[DllImport("user32.dll")]
public static extern IntPtr WindowFromPoint(Point point);
[DllImport("user32.dll", CharSet = CharSet.Auto)]
public static extern IntPtr SendMessage(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam);
}
}