Beispiel #1
0
		static extern int MapWindowPoints([In] IntPtr hWndFrom, [In] IntPtr hWndTo, ref POINT lpPoints, uint cPoints);
 private static extern IntPtr AccessibleObjectFromPoint(POINT pt, [Out, MarshalAs(UnmanagedType.Interface)] out IAccessible accObj, [Out] out object ChildID);
Beispiel #3
0
		public static extern IntPtr WindowFromPoint(POINT Point);
Beispiel #4
0
		public static extern int MapWindowPoints(IntPtr hwndFrom, IntPtr hwndTo, ref POINT lpPoints, [MarshalAs(UnmanagedType.U4)] int cPoints);
Beispiel #5
0
		public static Point ClientToScreen(SystemWindow window, Point point)
		{
			POINT p = new POINT(point.X, point.Y);
			MapWindowPoints(window.HWnd, IntPtr.Zero, ref p, 1);
			return new Point(p.X, p.Y);
		}
 public static extern bool GetCursorPos(out POINT lpPoint);
 private static extern IntPtr WindowFromPoint(POINT Point);