GUI Not recieving mouse events

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
Jono
Posts: 4
Joined: Wed Dec 01, 2010 11:02 pm
Location: SOUTH AFRICA

GUI Not recieving mouse events

Post by Jono »

Hi everyone

Just a quick one possibly missing something

During gameplay on an Colision event I create a gui::menu...

Im able to move my mouse out of the FPSscreen/camera with a key event and the gui renders

however it does not recieve the mouse over event to select something
how do i bring the GUI reciever into
focus
Question 2 Can a map a

Code: Select all

key[ eg..tab ]
to activate gui commands

Calling all corners Possibly overlooked something

Thanks :?:
MarcusD
Posts: 16
Joined: Sat Nov 27, 2010 12:57 pm
Location: South Yorkshire, UK

Post by MarcusD »

Are you processing mouse events for anything else? Such as interaction with the scene? If so you need to return FALSE when it finishes so the engine knows to look for more mouse events.
Post Reply