top level event handler question
Chad Wagner
chad at chadawagner.com
Thu Feb 1 07:59:44 PST 2007
I'm having a problem with which object an event is being sent to by
the top level mouse event handler. The issue is that I have sub-
windows that overlap, e.g. a 2D slider with another window over it
that draws in the foreground. I want the background object to handle
the mouse event, but the foreground object steals it. I thought that
calling event.Skip() from the foreground object would let it
propagate down, but it only seems to look for another handler at the
app level. Is there a way to gracefully handle this without
overriding the top level mouse event handler??
thx,
c
More information about the wx-users
mailing list