Beispiel #1
0
 public static Bitmap GetWindowsBitmap(IntPtr hWnd)
 {
     User.Struct.RECT rect = new User.Struct.RECT();
     User.GetClientRect(hWnd, ref rect);
     return GetWindowsBitmap(hWnd, rect.Left, rect.Top, rect.Right - rect.Left + 1, rect.Bottom - rect.Top + 1);
 }
Beispiel #2
0
 public static Bitmap GetWindowsBitmap(IntPtr hWnd)
 {
     User.Struct.RECT rect = new User.Struct.RECT();
     User.GetClientRect(hWnd, ref rect);
     return(GetWindowsBitmap(hWnd, rect.Left, rect.Top, rect.Right - rect.Left + 1, rect.Bottom - rect.Top + 1));
 }