How to get keyup/keydown/keypress events on a Windows.Forms.Form that is minimized or not focused?

被刻印的时光 ゝ 提交于 2019-12-10 11:42:25

问题


I'd like to know if is possible to get keyup/keydown/keypress events on a Windows.Forms.Form that is minimized or not focused, so, for example, if I press the Ctrl key the event would be executed on the Form.

It's possible to do that? How should I proceed to get this result?

来源:https://stackoverflow.com/questions/17056235/how-to-get-keyup-keydown-keypress-events-on-a-windows-forms-form-that-is-minimiz

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!