My test GUI elements don't seem to be working. My demo scrollbar and button draw, but don't respond to mouse activity - the even handler is set up as in the demo, and info goes through it - I had already set up keyboard input before this, and that worked fine - but on the line
if (event.EventType == EET_GUI_EVENT)
nothing ever gets past here. I click on buttons or the slider, the slider doesn't move, the buttons don't click, and most importantly, no message is sent whose event.EventType == EET_GUI_EVENT - i've got a boolean set up that would flip if that condition is met, and it stays 0 no matter what i do.
Anyone know why this might be?
P.S. yes I've searched the forums - the search engine munches, and I didn't see any related posts ont he last few pages...
GUI Input issues
-
- Posts: 37
- Joined: Fri Jul 02, 2004 5:36 pm
- Location: Albany, NY
- Contact:
GUI Input issues
------------------------------------------
A monkey poured coffee in my boots.
------------------------------------------
A monkey poured coffee in my boots.
------------------------------------------
-
- Posts: 37
- Joined: Fri Jul 02, 2004 5:36 pm
- Location: Albany, NY
- Contact:
The answer was relatively simple.
My keyboard input, taken from SOMEWHERE around here, returned true from the event handler.
You need it to return false.
This doesn't hinder the key input at all, as far as I can tell.
My keyboard input, taken from SOMEWHERE around here, returned true from the event handler.
You need it to return false.
This doesn't hinder the key input at all, as far as I can tell.
------------------------------------------
A monkey poured coffee in my boots.
------------------------------------------
A monkey poured coffee in my boots.
------------------------------------------