点击或拖拽改变大小

UserTrackPopupMenuEx 方法

Sweet 开发框架

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

命名空间:  Sweet.Common.Win32
程序集:  Sweet.Common (在 Sweet.Common.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法
public static int TrackPopupMenuEx(
	IntPtr hMenu,
	int un,
	int n1,
	int n2,
	IntPtr hwnd,
	ref TPMPARAMS lpTPMParams
)

参数

hMenu
类型:SystemIntPtr

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

un
类型:SystemInt32

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

n1
类型:SystemInt32

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

n2
类型:SystemInt32

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

hwnd
类型:SystemIntPtr

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

lpTPMParams
类型:Sweet.Common.Win32TPMPARAMS

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

返回值

类型:Int32

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

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