I have a Windows Forms application with some buttons for the F keys. When you place the mouse over the buttons the get grey, and when you click they get a slightly lighyer grey. I would like to mimic that behaviour with F key keystrokes… how would you do it?
Share
Finally I implemented the button changing the background:
It is not the most clean way but it works fine. I would like more examples doing this with a cleaner and more elegant style.