Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
29 user(s) are online (15 user(s) are browsing Forums)

Members: 0
Guests: 29

more...
Support us!
Recent OS4 Files
OS4Depot.net





Keep window in front of parent
Just popping in
Joined:
2015/9/28 23:42
From Bettendorf, IA, USA
Posts: 177
Has anyone developed a way to keep a sub-window in front of it's main window? So windows don't get separated if get depth arranged.

   Report Go to top

Re: Keep window in front of parent
Not too shy to talk
Joined:
2008/5/2 12:14
From Sweden
Posts: 499
Not as far as I know. But a program that has subwindows should probably have implemented a way to keep it onto of its parent one would think.

What program is it you have a problem with?

_________________
Software developer for Amiga OS3 and OS4.
Develops for OnyxSoft and the Amiga using E and C and occasionally C++
   Report Go to top

Re: Keep window in front of parent
Home away from home
Joined:
2006/12/4 23:15
Posts: 2083
@mritter0

You can't link a window to another window in this way. Intuition doesn't (currently) work that way, and isn't likely to change. Certainly not soon enough to make it worth it.

You can use WA_StayTop to ensure that the sub window always stays on top of al other (non staytop) windows. This should be used with caution.

If you really really need to have two windows follow each other arround then you will need to listen to the IDCMP_CHANGEDWINDOW messages. Then lock intuition search for your window and re depth arrange the sub window.


_________________
Blender For OS4.x : Blues : Walker Broad
   Report Go to top

Re: Keep window in front of parent
Just popping in
Joined:
2015/9/28 23:42
From Bettendorf, IA, USA
Posts: 177
@Deniil

Every program could take advantage of this. Workbench Explorer, for example. Open requester to rename a file, forgot how to spell it, select a different program to check, it's window comes forward, click on WEx's window, it comes forward but the Rename window is now behind it. The cycle continues.....

   Report Go to top

Re: Keep window in front of parent
Home away from home
Joined:
2006/12/4 23:15
Posts: 2083
@mritter0

There a comodity called DepthToFront that gets you arround this, when running right clicking on the depth gadget of any window gives drop down list of windows, so windows don;t get lost in the way you describe.

If your requester was linked to your WEx window, you get the opposite problem of the WEx window coming forward with it and covering up some other window you want to look at, swings and round abouts.

_________________
Blender For OS4.x : Blues : Walker Broad
   Report Go to top





[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project