Page 1 of 1

EventMouseButtonDown EventMouseButtonUp EventMouseMove

Posted: Mon Oct 29, 2007 18:42
by daves
There are circumstances where I want to be able to handle these three events within a frame window: EventMouseButtonDown EventMouseButtonUp EventMouseMove

There are other times when I want to allow these to drive the framewindow sizing.

If I have subscribed to these events can I decide within the associated handler(s) to handle the events or not, and if not how can I tell CEGUI to go ahead and do the "framewindow sizing"?

Posted: Tue Oct 30, 2007 09:47
by CrazyEddie
I think with the way events are wired at present, there is no quick way of saying to the system "I have handled this event, do no further processing".

This means that in order to sometimes size and sometimes not to size you would have to enable / disable sizing in your handler before the FrameWindow sizing handler gets called (which, happily in these cases, is after your event subscribers).

So, it's possible, just may not be the cleanest solution you've ever made :)

Posted: Wed Oct 31, 2007 01:32
by ttom
Is CrazyEddie come back?

Posted: Wed Oct 31, 2007 09:24
by CrazyEddie
ttom wrote:Is CrazyEddie come back?

I'm just helping out on the forum at the moment :)