Hey all,
I’m having a problem with a container control recognizing the KeyDown event. The container control has several custom canvases on it. It has a number of other controls as well.
In one mode of operation, it sets it up to allow the user to program some of the features of the window (it’s basically a large remote control). To get out of programming mode, the user hits the escape key. In OS X I seem to always recognize the escape key. In Windows, not so much. If I go into the programming mode and then try to get out of it right away, no key down event is captured either on the container control or at the window level. Nothing. I can hit any key and no capture. If I click on one of the buttons to program it, this opens another window allowing the user to select what they want the button to do. As soon as that window is closed, now KeyDown events are captured. I have no problem at this point.
So something else seems to be receiving the key down events and they are not being passed up to the container control. I haven’t looked at every single control but none of them have keydown events implemented at my level (I’ve actually implemented a couple jus trying to do some detective work).
So what might be grabbing that event? I’ve seen this before and haven’t been able to figure it out either…