>>      virtual int handle(int event) {
>          if (event== FL_SHORTCUT)

if (event== FL_SHORTCUT && Fl::event_key()== 65509)

Without check of key every shortcut signals caps lock, thats wrong. And 
it seems, the real state establishs after the events had run through, 
but because of binary state it's no problem.
_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to