How to have window always on top of another [message #438937] |
Mon, 05 July 2004 14:34 |
Eclipse User |
|
|
|
Originally posted by: yuraukar.hotmail.com
I am trying to achieve something like
a floating property window. This should
always be on top of its parent shell,
but of course not on top of other windows.
What is the recommended style of doing this
with SWT?
I tried to create a shell with given parent,
but this seems to have no effect.
Yuraukar
|
|
|
|
Re: How to have window always on top of another [message #439175 is a reply to message #438939] |
Tue, 06 July 2004 15:13 |
Eclipse User |
|
|
|
Originally posted by: yuraukar.hotmail.com
No, this doesn't do the trick.
SWT.APPLICATION_MODAL displays the shell, but
no other window can be activated (that's what
modal means in general). SWT.SYSTEM_MODAL
doesn't let the user select a different window
of any other app. I therefore want a modeless
window/dialog.
SWT.ON_TOP almost does the trick, but the
window is on top of all windows - windows other
than the parent should hide the floating propery
window.
I don't see any effect on SWT.PRIMARY_MODAL (at
least not on Windows).
Any other ideas?
Thanks
Yuraukar.
Heitzso wrote:
> Try SWT.APPLICATION_MODAL
> While digging in that doc, look at other modal models
> as well.
>
> Yuraukar wrote:
>
>
>>I am trying to achieve something like
>>a floating property window. This should
>>always be on top of its parent shell,
>>but of course not on top of other windows.
>
>
>>What is the recommended style of doing this
>>with SWT?
>>I tried to create a shell with given parent,
>>but this seems to have no effect.
>
>
>>Yuraukar
>
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03221 seconds