> Hello,
> I am writing an aplication using openGL and FLTK. I made my own class 
> inherited from FL_GL_Window and overwrite the handle() function. FL_GL_Window 
> is a child af the main GL_Window.
> What i need is that if there is some mouse event i need to do something in 
> FL_GL_Window but also in the main GL_Window. It works well in FL_GL_Window, 
> but I can´t catch the event in the main window.
> Hope you understand my problem, thank you for your advice.
> Tomas
Hi, test again with returning 0 instead of 1 in your overriden handle() method, 
returning 1 means that you handled the event and it is not cascaded, returning 
0 should let a chance to main window to catch this event AFAIR.

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

Reply via email to