Esempio n. 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;
 }
Esempio n. 2
0
 public static extern int SendMessage(
     IntPtr hWnd, int msg, int wParam, ref RECT lParam);
Esempio n. 3
0
 public static extern bool ValidateRect(IntPtr hWnd, ref RECT lpRect);
Esempio n. 4
0
 public static extern int RtlMoveMemory(
     ref POINT destination, ref RECT Source, int length);
Esempio n. 5
0
 public static extern int OffsetRect(
     ref RECT lpRect, int x, int y);
Esempio n. 6
0
 public static extern bool GetWindowRect(
     IntPtr hWnd, ref RECT lpRect);
Esempio n. 7
0
 public static extern bool GetClientRect(
     IntPtr hWnd, ref RECT r);
Esempio n. 8
0
 public static extern bool AdjustWindowRectEx(
     ref RECT lpRect, int dwStyle, bool bMenu, int dwExStyle);