示例#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);
 }
示例#2
0
 internal static extern bool GetWindowRect(IntPtr hWnd, out RECT lpRect);
示例#3
0
文件: Structs.cs 项目: LionFree/Cush
 public RECT(RECT rcSrc)
 {
     left = rcSrc.left;
     top = rcSrc.top;
     right = rcSrc.right;
     bottom = rcSrc.bottom;
 }