Jose Marcelo Auler wrote:
> Hello!
> I am having problem with Fl_Menu_. When the menu is open and the software
> creates a new screen, requesting the focus, all the focus loose forever!
> Also, in a similar situation, when I'm debugging the software and the
> debugger stops the application exactly when menu is open, the focus is lost
> and it doesn't come back, just when I go to terminal e kill the application
> via keyboard the focus gets back. Does anyone have any experience with
> something like this. Simple ideas to solve?
If you're using Fl_Menu_, that's a low level widget meant to be used
only for creating other menu widgets. If you're designing your own
menu widget, give us more details about what it does and what approach
you're taking.
If what you're trying to do is just open a menu, use a higher level
menu widget like Fl_Menu_Button or Fl_Menu_Bar, and don't use Fl_Menu_.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk