Input event handler conflict

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Jolly Joker
Posts: 23
Joined: Fri Jul 13, 2007 6:08 pm

Input event handler conflict

Post by Jolly Joker »

I'm using C#, in my winform I added some menus with shortcut keys (i.e. Ctrl + O for Open). I realize that when Irrlicht is not running (device.Run() is not yet called), menu shortcut works well, pressing Ctrl + O will show open dialog, but when device is running, the dialog doesn't show, all shortcuts stopped working.
How can I fix this?
Sylence
Posts: 725
Joined: Sat Mar 03, 2007 9:01 pm
Location: Germany
Contact:

Post by Sylence »

I guess irrlicht catches the input events before your programm can handle them.
You have to implement an IEventReceiver that handles the keyboard events
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
Post Reply