点击或拖拽改变大小

UnmanagedMethodsCreateWindowEx 方法 (Int32, UInt32, String, UInt32, Int32, Int32, Int32, Int32, IntPtr, IntPtr, IntPtr, IntPtr)

[缺少 "M:CPF.Windows.UnmanagedMethods.CreateWindowEx(System.Int32,System.UInt32,System.String,System.UInt32,System.Int32,System.Int32,System.Int32,System.Int32,System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr)" 的 <summary> 文档]

命名空间:  CPF.Windows
程序集:  CPF.Windows (在 CPF.Windows.dll 中) 版本:0.8.8.5
语法
C#
public static IntPtr CreateWindowEx(
	int dwExStyle,
	uint lpClassName,
	string lpWindowName,
	uint dwStyle,
	int x,
	int y,
	int nWidth,
	int nHeight,
	IntPtr hWndParent,
	IntPtr hMenu,
	IntPtr hInstance,
	IntPtr lpParam
)

参数

dwExStyle
类型:SystemInt32

[缺少 "M:CPF.Windows.UnmanagedMethods.CreateWindowEx(System.Int32,System.UInt32,System.String,System.UInt32,System.Int32,System.Int32,System.Int32,System.Int32,System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr)" 的 <param name="dwExStyle"/> 文档]

lpClassName
类型:SystemUInt32

[缺少 "M:CPF.Windows.UnmanagedMethods.CreateWindowEx(System.Int32,System.UInt32,System.String,System.UInt32,System.Int32,System.Int32,System.Int32,System.Int32,System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr)" 的 <param name="lpClassName"/> 文档]

lpWindowName
类型:SystemString

[缺少 "M:CPF.Windows.UnmanagedMethods.CreateWindowEx(System.Int32,System.UInt32,System.String,System.UInt32,System.Int32,System.Int32,System.Int32,System.Int32,System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr)" 的 <param name="lpWindowName"/> 文档]

dwStyle
类型:SystemUInt32

[缺少 "M:CPF.Windows.UnmanagedMethods.CreateWindowEx(System.Int32,System.UInt32,System.String,System.UInt32,System.Int32,System.Int32,System.Int32,System.Int32,System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr)" 的 <param name="dwStyle"/> 文档]

x
类型:SystemInt32

[缺少 "M:CPF.Windows.UnmanagedMethods.CreateWindowEx(System.Int32,System.UInt32,System.String,System.UInt32,System.Int32,System.Int32,System.Int32,System.Int32,System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr)" 的 <param name="x"/> 文档]

y
类型:SystemInt32

[缺少 "M:CPF.Windows.UnmanagedMethods.CreateWindowEx(System.Int32,System.UInt32,System.String,System.UInt32,System.Int32,System.Int32,System.Int32,System.Int32,System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr)" 的 <param name="y"/> 文档]

nWidth
类型:SystemInt32

[缺少 "M:CPF.Windows.UnmanagedMethods.CreateWindowEx(System.Int32,System.UInt32,System.String,System.UInt32,System.Int32,System.Int32,System.Int32,System.Int32,System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr)" 的 <param name="nWidth"/> 文档]

nHeight
类型:SystemInt32

[缺少 "M:CPF.Windows.UnmanagedMethods.CreateWindowEx(System.Int32,System.UInt32,System.String,System.UInt32,System.Int32,System.Int32,System.Int32,System.Int32,System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr)" 的 <param name="nHeight"/> 文档]

hWndParent
类型:SystemIntPtr

[缺少 "M:CPF.Windows.UnmanagedMethods.CreateWindowEx(System.Int32,System.UInt32,System.String,System.UInt32,System.Int32,System.Int32,System.Int32,System.Int32,System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr)" 的 <param name="hWndParent"/> 文档]

hMenu
类型:SystemIntPtr

[缺少 "M:CPF.Windows.UnmanagedMethods.CreateWindowEx(System.Int32,System.UInt32,System.String,System.UInt32,System.Int32,System.Int32,System.Int32,System.Int32,System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr)" 的 <param name="hMenu"/> 文档]

hInstance
类型:SystemIntPtr

[缺少 "M:CPF.Windows.UnmanagedMethods.CreateWindowEx(System.Int32,System.UInt32,System.String,System.UInt32,System.Int32,System.Int32,System.Int32,System.Int32,System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr)" 的 <param name="hInstance"/> 文档]

lpParam
类型:SystemIntPtr

[缺少 "M:CPF.Windows.UnmanagedMethods.CreateWindowEx(System.Int32,System.UInt32,System.String,System.UInt32,System.Int32,System.Int32,System.Int32,System.Int32,System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr)" 的 <param name="lpParam"/> 文档]

返回值

类型:IntPtr

[缺少 "M:CPF.Windows.UnmanagedMethods.CreateWindowEx(System.Int32,System.UInt32,System.String,System.UInt32,System.Int32,System.Int32,System.Int32,System.Int32,System.IntPtr,System.IntPtr,System.IntPtr,System.IntPtr)" 的 <returns> 文档]

参见