Example #1
0
 internal void UpdateCore(RECT rect)
 {
     NativeMethods.SetWindowPos(handle, ownerHandle,
         (int) (getLeft(rect)),
         (int) (getTop(rect)),
         (int) (getWidth(rect)),
         (int) (getHeight(rect)),
         SWP.NOACTIVATE | SWP.NOZORDER);
 }
Example #2
0
 internal static extern bool GetWindowRect(IntPtr hWnd, out RECT lpRect);
Example #3
0
 public RECT(RECT rcSrc)
 {
     left = rcSrc.left;
     top = rcSrc.top;
     right = rcSrc.right;
     bottom = rcSrc.bottom;
 }