How do I trap windows key, alt+tab, ctrl+alt+delete in C#?

前端 未结 5 2108
遥遥无期
遥遥无期 2020-12-18 13:08

How do I trap Windows key, Alt+Tab, and Ctrl+Alt+Delete in a Windows application using C#?

5条回答
  •  遥遥无期
    2020-12-18 13:28

    Some Remote Management Software and Virtual Machines do this. If you press [CTRL]+[ALT]+[DEL] the specific Windows Dialog will still opens, but the Application also displays, that you have pressed [CTRL]+[ALT]+[DEL] and probably wanted it t become effective on the Target Machine and not your host. It seams rather easy to capture these keys, but cancelling the Event may be harder.

提交回复
热议问题