Raw key even handler hogging the keyboard input
In my game I install a window event handler for raw key events for the key up/down input in the game.
That all works fine however I have just put in a edit text box as part of the editing tools and it seems that the raw key event handler interferes with it.
What I mean by this is that when I try to type in the edit text box I need to hold down a key until it repeats to get any response.
If I remove the raw key handler the edit text box response is fine.
What might be the cause of this?
That all works fine however I have just put in a edit text box as part of the editing tools and it seems that the raw key event handler interferes with it.
What I mean by this is that when I try to type in the edit text box I need to hold down a key until it repeats to get any response.
If I remove the raw key handler the edit text box response is fine.
What might be the cause of this?
are you returning eventNotHandledErr from your raw handler?
If you return noErr, no further event handlers will be called.
I suspect eventNotHandledErr will do what you want.
I suspect eventNotHandledErr will do what you want.
Sounds a likely suspect, I will try it when I get home tonight.
As always - you rock OneSadCookie!
As always - you rock OneSadCookie!
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Keyboard Input - C++ OpenGL | EugeneSong2000 | 2 | 4,825 |
Apr 13, 2009 01:14 PM Last Post: EugeneSong2000 |
|

