Exemplo n.º 1
0
		static extern int MapWindowPoints([In] IntPtr hWndFrom, [In] IntPtr hWndTo, ref POINT lpPoints, uint cPoints);
Exemplo n.º 2
0
 private static extern IntPtr AccessibleObjectFromPoint(POINT pt, [Out, MarshalAs(UnmanagedType.Interface)] out IAccessible accObj, [Out] out object ChildID);
Exemplo n.º 3
0
		public static extern IntPtr WindowFromPoint(POINT Point);
Exemplo n.º 4
0
		public static extern int MapWindowPoints(IntPtr hwndFrom, IntPtr hwndTo, ref POINT lpPoints, [MarshalAs(UnmanagedType.U4)] int cPoints);
Exemplo n.º 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);
		}
Exemplo n.º 6
0
 public static extern bool GetCursorPos(out POINT lpPoint);
Exemplo n.º 7
0
 private static extern IntPtr WindowFromPoint(POINT Point);