Capturing key press in a UserControl
I have a UserControl defined that has one TableLayoutPanel. The TableLayoutPanel has 1 column and 3 rows with 1 Label in each row.
I need to do the following: :)
1) Determine when the Control is left-clicked
2) Determine if a key has been pressed when the Control is left-clicked and which key is pressed.
I can do 1) :wave: but can't seem to have any success for 2) :ehh:
Any ideas?
Thanks
-Mike
Re: Capturing key press in a UserControl
Hi, how're you?
You can implement IMessageFilter on TableLayoutPanel
Example http://www.codeproject.com/Articles/...eric-filter-fo
regards
Victor