c#模仿酷狗怎么实现全局热键控制
c#模仿酷狗怎么实现全局热键控制
日期:2021-11-14 16:04:34 人气:1
看代码:
[System.Runtime.InteropServices.DllImport("user32.dll")] //申明API函数
public static extern bool RegisterHotKey(
IntPtr hWnd, // handle to window
int id, // hot key i
[System.Runtime.InteropServices.DllImport("user32.dll")] //申明API函数
public static extern bool RegisterHotKey(
IntPtr hWnd, // handle to window
int id, // hot key i