On Jul 3, 2007, at 7:35 PM, Jeremy Henty wrote: > OK, I have a really simple example (attached) - just a box sitting > inside a window with a margin all around. I override the handle event > to report ENTER and LEAVE events but ... I see no ENTER events (!) and > a LEAVE event whenever the pointer leaves the box *or* the window(!!). > What is going on?
Two issues: Please put a "break;" statement at the end of the "case" line. For all events that you don't handle entirely by yourself, you shoudl call the super class' handle function. So your last line should be return Box::handle(event); instead of return 1; ---- http://robowerk.com/ _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

