Hi Mike,

Just hazarding a guess, I'd say your problem is caused by
> ret = 1;

This is guaranteeing that the widget ate the event and no more handling 
is to be done. Perhaps you want this inside your switch statement(s)?
Shortcuts send FL_SHORTCUT (I think), and I don't know if Box handles 
FL_SHORTCUT - what's most likely is that it then rejects this event, 
which is then sent up to Widget. By guaranteeing every single time your 
handle() function is called that you return 1, you're telling FLTK that 
you've handled the event and nothing more needs to happen with it.
Note, however, that I know little of 1.3, so my advice mightn't be on 
track at all!

HTH,
Ben

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to