其他Windows上的热键 [英] Hotkeys On Other Windows
问题描述
您好,
我无法找到一个好的主题名称,但我认为通过描述我的问题,我可以弥补这一点。
I could not really find a good thread name, but I think by describing my issue, I can make up for that.
热键的问题在于,如果我按下例如按钮"G",当我在我的程序上时,按钮执行动作,这很好。如果我是另一个窗口,让我们说Microsoft Edge,我按下按钮"G",
我的窗体上没有执行操作。
The problem with hotkeys is that if I press for example the button "G", while I am on my program, the button performs the action, which is good. If I am one another window, let us say Microsoft Edge, and I am pressing the button "G", the action is not performed on my windows form.
基本上,我正在寻找一个代码,当我按下按钮G(或F,或RSHIFT,它没关系;只是一个明确的密钥),以任何形式(不在Form1.vb中),它在Form1.vb中执行某些操作。
Basically, I am looking for a code that when I press the button G (or F, or RSHIFT, it does not matter; just one unequivocal key), in any form (not in Form1.vb) it does something in Form1.vb.
非常感谢,我希望这很清楚,可以理解。
Thank you very much, and I hope this is clear enough to understand.
Jakob
推荐答案
您好
您是否考虑过"其他窗口已将Hotkeys用于其自身目的时的效果?"
Have you considered the effect when the 'other window already uses Hotkeys for its own purposes?
这篇关于其他Windows上的热键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!