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