点击或拖拽改变大小

NativeMethodsRegisterHotKey 方法

热键定义

命名空间:  DSkin
程序集:  DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法
C#
public static bool RegisterHotKey(
	IntPtr hWnd,
	int id,
	KeyModifiers fsModifiers,
	Keys vk
)

参数

hWnd
类型:SystemIntPtr
要定义热键的窗口的句柄
id
类型:SystemInt32
定义热键ID(不能与其它ID重复)
fsModifiers
类型:DSkin.ControlsKeyModifiers
标识热键是否在按Alt、Ctrl、Shift、Windows等键时才会生效
vk
类型:System.Windows.FormsKeys
定义热键的内容

返回值

类型:Boolean

[缺少 "M:DSkin.NativeMethods.RegisterHotKey(System.IntPtr,System.Int32,DSkin.Controls.KeyModifiers,System.Windows.Forms.Keys)" 的 <returns> 文档]

参见