> I'm developing a program where I've created 5 child windows > and I want to drag these windows within the main window.
Are you talking about some sort of MDI interface? I'm not sure what you mean by "windows within the main window" but I guess you mean some sort of MDI mechanism. If so, you should probably be aware that fltk does not really support MDI operation, so this may not work right. > When > I'm selecting a particular window and dragging, I want it to > be on the topmost, ie, it should be visible, but i think > because of widget hierarchy, it gets hidden by other child > windows while I'm dragging over them... > > Is it possible to change the widget hierarchy? Yes, though it may not be trivial. Once the drag starts, you may need to remove the window from it's parent then add it back in. That should force it to the end of the hierarchy, which should force it on top. Probably... There may be a better way. For my part, I'd advise against MDI anyway...! SELEX Galileo Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

