Example #1
0
 public static extern IntPtr WindowFromPoint(POINT Point);
Example #2
0
 public static Point NativeScreenToClient(IntPtr window, Point originalPoint)
 {
     POINT point1 = new POINT(originalPoint.X, originalPoint.Y);
     if (NativeUtils.ScreenToClient(window, ref point1))
     {
         return new Point(point1.x, point1.y);
     }
     return Point.Empty;
 }
Example #3
0
 public static extern bool ScreenToClient(IntPtr hWnd, ref POINT lpPoint);
Example #4
0
 public static extern IntPtr ChildWindowFromPoint(IntPtr hWndParent, POINT Point);