On 2013.01.15, Albrecht wrote:
> (1) saves the current group, which would otherwise become the window's
> parent group.
> (2) resets the current group before window creation
> (3) reverts (2).
>
> Sorry, I don't have the time to do my own tests, so please try this
> and tell us, if it changes the behavior.
>
> Note that simply setting "browser_->parent(NULL);" is a *really BAD*
> idea, since this MUST NOT BE USED in user code (see the docs).
> Unfortunately this method exists, although it really should not exist
> at all, but it's used for some special internal "hacks".
>

Thanks for pointing out to not use parent(Fl_Group *) directly. I haven't done 
that anywhere else, but at least now I know not to (!).

I hacked out a solution to the z problem (remove the popup window from its 
parent/group, then add it to top window; this puts it last/top in sort order), 
but I was getting a bit frustrated with the idea altogether and digressed to 
some other work.

I'll return to this one and try out the above. Thanks again for the continued 
feedback - I'll post whatever works in the end!

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

Reply via email to