Exemplo n.º 1
0
        public static Win32Rect GetWindowRect(IntPtr hWnd)
        {
            var rect = new Win32Rect();

            GetWindowRect(hWnd, out rect);
            return(rect);
        }
Exemplo n.º 2
0
 public static extern IntPtr GetWindowRect(IntPtr hWnd, out Win32Rect rect);