Send Windows key keypress into application [duplicate]
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: How to detect the currently pressed key? (EDIT: For what it's worth, this is not a duplicate... not sure why it was voted as such) I have a small timer application that we use in the office to track the hours spent on a project. There is a start and stop button, and a project and task fields. When we go on break and to lunch and other things, we stop the timer for that project, then restart it. This is a