v1.10 v1.11

This commit is contained in:
ulf
2013-09-05 23:15:20 +02:00
parent 985cf2eac3
commit 5e39a180ad
13 changed files with 602 additions and 106 deletions

View File

@@ -108,6 +108,13 @@ namespace PreviewToy
[DllImport("user32.dll")]
public static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow);
public const int WM_NCLBUTTONDOWN = 0xA1;
public const int HTCAPTION = 0x2;
[DllImport("User32.dll")]
public static extern bool ReleaseCapture();
[DllImport("User32.dll")]
public static extern int SendMessage(IntPtr hWnd, int Msg, int wParam, int lParam);
[DllImport("user32.dll", SetLastError = true)]
public static extern int GetWindowLong(IntPtr hWnd, int nIndex);