7,655
社区成员
发帖
与我相关
我的任务
分享
SetWindowLong(hWnd, GWL_STYLE, GetWindowLong(hWnd, GWL_STYLE) | WS_CAPTION);
MoveWindow(hWnd, x, y, realSize.Width, realSize.Height, true);
[DllImport("coredll")]
public static extern IntPtr MoveWindow(IntPtr hWnd, int X, int Y, int Width, int Height, bool Repaint);
[DllImport("coredll")]
public static extern int GetWindowLong(IntPtr hWnd, int nItem);
[DllImport("coredll")]
public static extern void SetWindowLong(IntPtr hWnd, int nItem, int nValue);