Hi, I would like to ask you for help with the following problem.
I have an application with many groups. Only one group is visible at a time, the rest is hidden. The groups have buttons with the shortcuts. I press a shortcut key, and the vissible group is hidden, and another group is shown. The newly shown group has buttons with shortcuts again, so I press the shortcut key in hope to change to the previous group, but nothing happens this time. I have to move with mouse in the newly displayed group, and after that shortcut works again. I think the problem is with focus lost after group change. So I tried to call take_focus() for the new group, visible_focus(1), and I also overloaded handle method, and upon FL_FOCUS event, I call redraw() and return 1. Unfortunately nothing works, only after I move with the mouse, it starts to function again. Any help? Thank you. Kveto _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

