点击或拖拽改变大小

UnmanagedMethodsUpdateLayeredWindow 方法

[缺少 "M:CPF.Windows.UnmanagedMethods.UpdateLayeredWindow(System.IntPtr,System.IntPtr,CPF.Windows.UnmanagedMethods.POINT@,CPF.Windows.UnmanagedMethods.SIZE@,System.IntPtr,CPF.Windows.UnmanagedMethods.POINT@,System.Int32,CPF.Windows.UnmanagedMethods.BLENDFUNCTION@,System.Int32)" 的 <summary> 文档]

命名空间:  CPF.Windows
程序集:  CPF.Windows (在 CPF.Windows.dll 中) 版本:0.8.8.5
语法
C#
public static int UpdateLayeredWindow(
	IntPtr hwnd,
	IntPtr hdcDst,
	ref UnmanagedMethodsPOINT pptDst,
	ref UnmanagedMethodsSIZE psize,
	IntPtr hdcSrc,
	ref UnmanagedMethodsPOINT pptSrc,
	int crKey,
	ref UnmanagedMethodsBLENDFUNCTION pblend,
	int dwFlags
)

参数

hwnd
类型:SystemIntPtr

[缺少 "M:CPF.Windows.UnmanagedMethods.UpdateLayeredWindow(System.IntPtr,System.IntPtr,CPF.Windows.UnmanagedMethods.POINT@,CPF.Windows.UnmanagedMethods.SIZE@,System.IntPtr,CPF.Windows.UnmanagedMethods.POINT@,System.Int32,CPF.Windows.UnmanagedMethods.BLENDFUNCTION@,System.Int32)" 的 <param name="hwnd"/> 文档]

hdcDst
类型:SystemIntPtr

[缺少 "M:CPF.Windows.UnmanagedMethods.UpdateLayeredWindow(System.IntPtr,System.IntPtr,CPF.Windows.UnmanagedMethods.POINT@,CPF.Windows.UnmanagedMethods.SIZE@,System.IntPtr,CPF.Windows.UnmanagedMethods.POINT@,System.Int32,CPF.Windows.UnmanagedMethods.BLENDFUNCTION@,System.Int32)" 的 <param name="hdcDst"/> 文档]

pptDst
类型:CPF.WindowsUnmanagedMethodsPOINT

[缺少 "M:CPF.Windows.UnmanagedMethods.UpdateLayeredWindow(System.IntPtr,System.IntPtr,CPF.Windows.UnmanagedMethods.POINT@,CPF.Windows.UnmanagedMethods.SIZE@,System.IntPtr,CPF.Windows.UnmanagedMethods.POINT@,System.Int32,CPF.Windows.UnmanagedMethods.BLENDFUNCTION@,System.Int32)" 的 <param name="pptDst"/> 文档]

psize
类型:CPF.WindowsUnmanagedMethodsSIZE

[缺少 "M:CPF.Windows.UnmanagedMethods.UpdateLayeredWindow(System.IntPtr,System.IntPtr,CPF.Windows.UnmanagedMethods.POINT@,CPF.Windows.UnmanagedMethods.SIZE@,System.IntPtr,CPF.Windows.UnmanagedMethods.POINT@,System.Int32,CPF.Windows.UnmanagedMethods.BLENDFUNCTION@,System.Int32)" 的 <param name="psize"/> 文档]

hdcSrc
类型:SystemIntPtr

[缺少 "M:CPF.Windows.UnmanagedMethods.UpdateLayeredWindow(System.IntPtr,System.IntPtr,CPF.Windows.UnmanagedMethods.POINT@,CPF.Windows.UnmanagedMethods.SIZE@,System.IntPtr,CPF.Windows.UnmanagedMethods.POINT@,System.Int32,CPF.Windows.UnmanagedMethods.BLENDFUNCTION@,System.Int32)" 的 <param name="hdcSrc"/> 文档]

pptSrc
类型:CPF.WindowsUnmanagedMethodsPOINT

[缺少 "M:CPF.Windows.UnmanagedMethods.UpdateLayeredWindow(System.IntPtr,System.IntPtr,CPF.Windows.UnmanagedMethods.POINT@,CPF.Windows.UnmanagedMethods.SIZE@,System.IntPtr,CPF.Windows.UnmanagedMethods.POINT@,System.Int32,CPF.Windows.UnmanagedMethods.BLENDFUNCTION@,System.Int32)" 的 <param name="pptSrc"/> 文档]

crKey
类型:SystemInt32

[缺少 "M:CPF.Windows.UnmanagedMethods.UpdateLayeredWindow(System.IntPtr,System.IntPtr,CPF.Windows.UnmanagedMethods.POINT@,CPF.Windows.UnmanagedMethods.SIZE@,System.IntPtr,CPF.Windows.UnmanagedMethods.POINT@,System.Int32,CPF.Windows.UnmanagedMethods.BLENDFUNCTION@,System.Int32)" 的 <param name="crKey"/> 文档]

pblend
类型:CPF.WindowsUnmanagedMethodsBLENDFUNCTION

[缺少 "M:CPF.Windows.UnmanagedMethods.UpdateLayeredWindow(System.IntPtr,System.IntPtr,CPF.Windows.UnmanagedMethods.POINT@,CPF.Windows.UnmanagedMethods.SIZE@,System.IntPtr,CPF.Windows.UnmanagedMethods.POINT@,System.Int32,CPF.Windows.UnmanagedMethods.BLENDFUNCTION@,System.Int32)" 的 <param name="pblend"/> 文档]

dwFlags
类型:SystemInt32

[缺少 "M:CPF.Windows.UnmanagedMethods.UpdateLayeredWindow(System.IntPtr,System.IntPtr,CPF.Windows.UnmanagedMethods.POINT@,CPF.Windows.UnmanagedMethods.SIZE@,System.IntPtr,CPF.Windows.UnmanagedMethods.POINT@,System.Int32,CPF.Windows.UnmanagedMethods.BLENDFUNCTION@,System.Int32)" 的 <param name="dwFlags"/> 文档]

返回值

类型:Int32

[缺少 "M:CPF.Windows.UnmanagedMethods.UpdateLayeredWindow(System.IntPtr,System.IntPtr,CPF.Windows.UnmanagedMethods.POINT@,CPF.Windows.UnmanagedMethods.SIZE@,System.IntPtr,CPF.Windows.UnmanagedMethods.POINT@,System.Int32,CPF.Windows.UnmanagedMethods.BLENDFUNCTION@,System.Int32)" 的 <returns> 文档]

参见