点击或拖拽改变大小

UserMoveWindow 方法 (IntPtr, Int32, Int32, Int32, Int32, Int32)

Sweet 开发框架

[缺少 "M:Sweet.Common.Win32.User.MoveWindow(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)" 的 <summary> 文档]

命名空间:  Sweet.Common.Win32
程序集:  Sweet.Common (在 Sweet.Common.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法
public static int MoveWindow(
	IntPtr hwnd,
	int x,
	int y,
	int nWidth,
	int nHeight,
	int bRepaint
)

参数

hwnd
类型:SystemIntPtr

[缺少 "M:Sweet.Common.Win32.User.MoveWindow(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)" 的 <param name="hwnd"/> 文档]

x
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.User.MoveWindow(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)" 的 <param name="x"/> 文档]

y
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.User.MoveWindow(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)" 的 <param name="y"/> 文档]

nWidth
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.User.MoveWindow(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)" 的 <param name="nWidth"/> 文档]

nHeight
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.User.MoveWindow(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)" 的 <param name="nHeight"/> 文档]

bRepaint
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.User.MoveWindow(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)" 的 <param name="bRepaint"/> 文档]

返回值

类型:Int32

[缺少 "M:Sweet.Common.Win32.User.MoveWindow(System.IntPtr,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)" 的 <returns> 文档]

参见
SweetUI 控件库、工具类库、扩展类库、多页面开发框架