> Thanks MacArthur,
>    but fl_window() is not hide(); it is backside of current 
> application

OK - to be clear:

I think what you are asking is how to raise a window to the top of the
stack, that is not currently hidden, and *is not* a window of the
currently focussed application?

If the window *is* a member of the currently focussed application, then
calling show on it should pop it to the top of the stack whether it is
hidden or not, so that is the simple case.

If the window is *not* a member of the current application, then how you
force it to the top of the stack is possibly going to be window-manager
specific. I don't think fltk supports that operation directly.
Why do you want to do this? Are you sure it is the best design?
Generally it is "Bad Form" (and certainly very questionable design) to
force your window to the top of the stack, on top of what the user is
currently doing.

And just because many Windows apps do that, doesn't mean we should do
the same!

That said, most of the window manager's do provide some method for
forcing a window to the top of the stack, so it can be done if you need
to, but you may require non-fltk code to do so.

Others may be able to help you out with that, since I don't know what it
is.




SELEX Sensors and Airborne Systems Limited
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-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to