[System.Runtime.InteropServices.DllImport("user32.dll", CharSet = Runtime.InteropServices.CharSet.Unicode)]
static IntPtr WindowFromPhysicalPoint(POINT Point);
public struct POINT
{
public int x;
public int y;
}
public IntPtr GetHwndFromPoint(POINT p)
{
return WindowFromPhysicalPoint(p);
}