コード例 #1
0
ファイル: Utils.cs プロジェクト: zhuangfangwang/ise
		static extern int MapWindowPoints([In] IntPtr hWndFrom, [In] IntPtr hWndTo, ref POINT lpPoints, uint cPoints);
コード例 #2
0
 private static extern IntPtr AccessibleObjectFromPoint(POINT pt, [Out, MarshalAs(UnmanagedType.Interface)] out IAccessible accObj, [Out] out object ChildID);
コード例 #3
0
ファイル: NativeMethods.cs プロジェクト: zhuangfangwang/ise
		public static extern IntPtr WindowFromPoint(POINT Point);
コード例 #4
0
ファイル: NativeMethods.cs プロジェクト: zhuangfangwang/ise
		public static extern int MapWindowPoints(IntPtr hwndFrom, IntPtr hwndTo, ref POINT lpPoints, [MarshalAs(UnmanagedType.U4)] int cPoints);
コード例 #5
0
ファイル: NativeMethods.cs プロジェクト: zhuangfangwang/ise
		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);
		}
コード例 #6
0
 public static extern bool GetCursorPos(out POINT lpPoint);
コード例 #7
0
 private static extern IntPtr WindowFromPoint(POINT Point);