点击或拖拽改变大小

UserCreateWindowEx 方法

Sweet 开发框架

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

命名空间:  Sweet.Common.Win32
程序集:  Sweet.Common (在 Sweet.Common.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法
public static IntPtr CreateWindowEx(
	int dwExStyle,
	string lpszClassName,
	string lpszWindowName,
	int style,
	int x,
	int y,
	int width,
	int height,
	IntPtr hWndParent,
	IntPtr hMenu,
	IntPtr hInst,
	Object pvParam
)

参数

dwExStyle
类型:SystemInt32

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

lpszClassName
类型:SystemString

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

lpszWindowName
类型:SystemString

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

style
类型:SystemInt32

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

x
类型:SystemInt32

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

y
类型:SystemInt32

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

width
类型:SystemInt32

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

height
类型:SystemInt32

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

hWndParent
类型:SystemIntPtr

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

hMenu
类型:SystemIntPtr

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

hInst
类型:SystemIntPtr

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

pvParam
类型:SystemObject

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

返回值

类型:IntPtr

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

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