I’m doing a C # application for Windows that will detect when a key is no longer pressed.
So how can I do this?
PS: I know how to detect when a key is pressed.
Thanks for your atention.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You handle the
KeyDownevent to detect when the key goes down, and then handle theKeyUpevent to detect when it goes back up.