On 09/06/12 11:23, Furqan wrote:
> But when I try to create another OpenGL window in the same way,
> Fl_Double_Window does not grab the OpenGL windnow.
Try enclosing the creation of your openGL window with
begin() and end() for the double window.
So for instance if your Fl_Double_Window is called dwin, then:
dwin.begin();
glwin = new Fl_Gl_Window(...);
dwin.end();
This will ensure the gl window you create will be parented
to the double window, instead of a separate window on its own.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk