On 15/01/11 21:57, Percy wrote:
> This is a little hard to explain, but I'll give it a go:
>
> I have 3 windows, two that are modal inside eachother, like this:
> Window ->  ModalWindow1 ->  ModalWindow2
>
> Everything works fine, but when I hide() ModalWindow2 and
> ModalWindow1 (so that only Window is left), Window seems to go into
> the background. What I mean by the "background" is that any other
> applications that are currently open behind it, are brought to the
> front. I haven't put in any code to do this, so I'm wondering why
> this happens and if there's a solution around it.
>
> I hope I explained it alright. Also, I'm using fltk-1.3.x-r7677
> (win7)

Without seeing more of your code, I'd have to guess that there's some 
sort of issue with the way the modality is being set... Maybe...
It certainly should not do what you are describing.

Is it possible for you to make a small, self-contained, compileable 
example that exhibits the behaviour and sets up the same window 
relationships you use in your code? Then we could play about with it and 
see what is happening.

Also, note that r7677 is a bit dated now (current as I type is r8278) so 
there may be some use in updating to a current build, just in case...


_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to