Пример #1
0
 internal TOOLINFO(int flags)
 {
     this.cbSize = Marshal.SizeOf(typeof(TOOLINFO));
     this.uFlags = flags;
     this.hwnd = IntPtr.Zero;
     this.uId = IntPtr.Zero;
     this.rect = new RECT(0, 0, 0, 0);
     this.hinst = IntPtr.Zero;
     this.lpszText = IntPtr.Zero;
     this.lParam = IntPtr.Zero;
 }
Пример #2
0
 public static extern int SendMessage(
     IntPtr hWnd, int msg, int wParam, ref RECT lParam);
Пример #3
0
 public static extern bool ValidateRect(IntPtr hWnd, ref RECT lpRect);
Пример #4
0
 public static extern int RtlMoveMemory(
     ref POINT destination, ref RECT Source, int length);
Пример #5
0
 public static extern int OffsetRect(
     ref RECT lpRect, int x, int y);
Пример #6
0
 public static extern bool GetWindowRect(
     IntPtr hWnd, ref RECT lpRect);
Пример #7
0
 public static extern bool GetClientRect(
     IntPtr hWnd, ref RECT r);
Пример #8
0
 public static extern bool AdjustWindowRectEx(
     ref RECT lpRect, int dwStyle, bool bMenu, int dwExStyle);