|
Keep window in front of parent |
Posted on: 5/24 1:48
#1 |
---|---|---|
Just popping in
![]() ![]() Joined:
2015/9/28 23:42 From Bettendorf, IA, USA
Posts: 215
|
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.
|
|
|
Re: Keep window in front of parent |
Posted on: 5/24 9:56
#2 |
---|---|---|
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++ ![]() |
||
|
Re: Keep window in front of parent |
Posted on: 5/24 10:15
#3 |
---|---|---|
Home away from home
![]() ![]() Joined:
2006/12/4 23:15 Posts: 2145
|
@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. |
|
|
Re: Keep window in front of parent |
Posted on: 5/24 15:17
#4 |
---|---|---|
Just popping in
![]() ![]() Joined:
2015/9/28 23:42 From Bettendorf, IA, USA
Posts: 215
|
@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..... |
|
|
Re: Keep window in front of parent |
Posted on: 5/24 15:32
#5 |
---|---|---|
Home away from home
![]() ![]() Joined:
2006/12/4 23:15 Posts: 2145
|
@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. |
|