Ok, I tried with an "empty" menu, as you suggested

Fl_Menu_Bar* menubar = new Fl_Menu_Bar(0,0,WINDOW_WIDTH,20);
menubar->add("File/Save") ;
menubar->callback(test_cb);
menubar->show();

It not crashing anymore...
but the keyboard doesn't seems to be taken into accound anyway

Which means...
if I do :

int FROG_MainWindow::handle(int e){
   printf("event = %i\n",e);
   return Fl_Gl_Window::handle(e);
}

Nothing is printed when I press a keyboard key...
When I move the mouse, click, enter the window etc... everything is fine...
But nothing happens for keyboard entries

Should I specify in someway that my child window is interested in getting such 
messages?

Best,
Loic




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

Reply via email to