2
Answers

catch Keypress in MDI

Ask a question
garuka

garuka

15y
7k
1
Hi,
I want to catch function key press events on MDI window.
This is my scenario. When form is loaded inside MDI and user press function key say F1 or something I want to catch that and preform some form specific action based on the form. I prefer to catch this in the MDI window since I'm proving MDI window button to do the same thing as well.
So far my attempts to catch the key press or keyDown events are unsuccessful.

My question is,
is it possible to do something like that? or do I have to catch on form window level. If so please post some code on that too.



Answers (2)