Hi all,
I am trying to figure this out, but I can't: I create a form, then
another form (which I call from the first), then add an event handler
for KeyDown messages in the second form and finally add another event
handler for KeyDown messages in the first form. I end up getting the
events when the second form is open and nothing with the first (basic)
form has the focus. What's wrong?
I noticed that if I reverse the sequence and add an event handler for
the first form first, and then add event handler for the second form, I
get the events in the first form and not in the second! Essentially, the
way I see it, the first event handler that is added to the project is
the one that gets the messages. Is there anyplace in the project that
the event handlers are registered?
Cheers
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!