Hi,
I need to add a button to a previously opened window in a different method. I
was able to resize the window, but no button appears on the window.
i.e. in one method I am opening a new window with 'new' command and I need
to access it and add a button in another method.
Doing-
Fl_Double_Window* o1;
o1 = m_fileWindow;
{ Fl_Button* o = new Fl_Button(30, 200, 40, 20, "OK");
o->down_box(FL_DOWN_BOX);
}
o1->end();
o1->size(530, 570);
is not showing any button!
Any help will be greatly appreciated.
Thanks,
Suja.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk