FromPoint() 공개 정적인 메소드

public static FromPoint ( Point pt ) : POINT
pt Point
리턴 POINT
예제 #1
0
        public static Point ScreenToClient(IntPtr windowHandle, Point point)
        {
            var pt = POINT.FromPoint(point);

            if (NativeMethods.ScreenToClient(windowHandle, ref pt))
            {
                return(pt.ToPoint());
            }
            return(Point.Empty);
        }
예제 #2
0
 public static IntPtr FindWindow(Point point)
 {
     return(NativeMethods.WindowFromPoint(POINT.FromPoint(point)));
 }
예제 #3
0
 public static IntPtr FindChildWindow(IntPtr parentWindowHandle, Point point)
 {
     return(NativeMethods.ChildWindowFromPoint(parentWindowHandle, POINT.FromPoint(point)));
 }