>>      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

Reply via email to