コード例 #1
0
ファイル: TOOLINFO.cs プロジェクト: songques/CSSIM_Solution
 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);