calling hide() the show() on a window should show it again in the same  
position. FLTK remebers the position of the window and requests the  
same position again from the window manager. The window manager  
however is free to move your windows around during creation time and  
override FLTK's request.

Just make sure that you do not *delete* the window between hide() and  
show().

Just to test if it is your window manager that cause troubles, you can  
try to call this before show() and see if that fixes things:

int xx = win->x(), yy = win->y();
win->position(xx+1, yy);
win->position(xx, yy);
win->show();

or this:

int xx = win->x(), yy = win->y();
win->show();
win->position(xx+1, yy);
win->position(xx, yy);


On 23.03.2008, at 09:51, pushparaj muthu wrote:
> Hi
>
> Herewith my pc details
>
> We are developing gui application on Linux desktop ( fedora 7 )  
> with  X11
> window manger

----
http://robowerk.com/


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to