Hi, > I have an fltk::Widget with a bmp image on it. > I create the widget, then sometime later I'm trying to > call mainWindow->add(my_widget).. but it's not becoming a child of the main > window.
First question :), why you don't use fltk::InvisibleBox ? It will do some things you will probably need later, like setting a box, style and tooltip behaviour. > Ok, I discovered the problem, and it's probably a bug that may need to be > addressed. > > If you create a Widget and show() it, it becomes a top-level window. But if > you later > try to add() it to a Window, the Widget doesn't get made a child window > embedded in > the Window you added it to. This is very strange. Can you post a sample ? -- Sanel _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

