【问题标题】:How to use Windows Key in my Application如何在我的应用程序中使用 Windows 键
【发布时间】:2008-11-28 12:19:34
【问题描述】:

喜欢:

 Windows Key + E 
Opens a new Explorer Window

还有:

 Windows Key + R 
Displays the Run command

如何在我的应用程序的 KeyDown 事件中使用 Windows 键?

【问题讨论】:

    标签: c# .net vb.net


    【解决方案1】:

    如果您想在事件处理程序中处理这些键,请使用 Keys.LWin 和 Keys.RWin

    通常我不建议使用这些,因为未来版本的 Windows 可能会引入新的快捷方式,这会干扰您的组合。

    【讨论】:

    • 所以让 MS 拥有一把钥匙……就说不!顺便提一句;他们不是叫“Apple Keys”吗? ;)
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-08-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多