Edzard has already responded with what's probbly the right answer, i.e. to make sure you use a BOX rather than a FRAME type for your main window, and then callaing main_win->redraw(); should have the desired effect.
However: > on the window but makes no difference, i tried with the clear_damage() > call but not exactly sure on what this is for, but anyway it just > stopped the window redrawing at all with my erroneous usage.. > clear_damage() i change the widget->position(x,y) in a button callback > then i called clear_damage() on the window. That is more or less back-to-front... What clear_damage() does (in hand-waving terms) is clear the (internal) flags that allow the renderer to know that a widget (e.g. the window in this case) has been damaged and needs to be redrawn. So by *clearing* the damage flags, you are telling the renderer that no redraws are needed - Which ties in with what you see, I think. What you need to be doing is *setting* the damage flags - which is what win->redraw() does 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

