http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=52509&authorid=0&page=0&star=1
按照上面的网址设置快捷键,添加快捷键代码如下:
Dim obj As GlobalKeyDown = GlobalKeyDown.getInstance
RegisterHotKey(obj.Handle, 100, KeyModifiers.none, Keys.F10) ' 快捷键F10
RegisterHotKey(obj.Handle, 101, KeyModifiers.Control, Keys.Y) ' 快捷键ctrl+y
RegisterHotKey(obj.Handle, 102, KeyModifiers.Control Or KeyModifiers.Alt, Keys.Y) ' 快捷键ctrl+alt+y
比如我想实现按F10能调出窗口“刷新数据”怎么实现?