Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Stay on top shell
Stay on top shell [message #443825] Fri, 01 October 2004 19:53 Go to next message
Eclipse UserFriend
Originally posted by: eu.eu.eu

How to make a 'stay on top' shell(like a modal window, but the rest of
application still accessible)?
Re: Stay on top shell [message #443826 is a reply to message #443825] Fri, 01 October 2004 20:16 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
Create shell with style SWT.ON_TOP:

/**
* Style constant for always on top behavior (value is 1<<14).
* <br>Note that this is a <em>HINT</em>.
* <p><b>Used By:</b><ul>
* <li><code>Shell</code> and subclasses</li>
* </ul></p>
*/
public static final int ON_TOP = 1 << 14;

"Cyber Vegeta" <eu@eu.eu> wrote in message news:cjkcaf$nq6$1@eclipse.org...
> How to make a 'stay on top' shell(like a modal window, but the rest of
> application still accessible)?
>
>
Re: Stay on top shell [message #443827 is a reply to message #443826] Fri, 01 October 2004 21:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eu.eu.eu

thanks, but this style(SWT.ON_TOP) isn't in swt documentation :(

---
using SWT.ON_TOP style, my Shell is 'on top' for all applications in my
computer, and I whant it's 'on top' only in my application.

(sorry for possible gramatical erros... my english is a %%#$##$@@!#@!#)
"Veronika Irvine" <veronika_irvine@oti.com> escreveu na mensagem
news:cjkdmf$q6u$1@eclipse.org...
> Create shell with style SWT.ON_TOP:
>
> /**
> * Style constant for always on top behavior (value is 1&lt;&lt;14).
> * <br>Note that this is a <em>HINT</em>.
> * <p><b>Used By:</b><ul>
> * <li><code>Shell</code> and subclasses</li>
> * </ul></p>
> */
> public static final int ON_TOP = 1 << 14;
>
> "Cyber Vegeta" <eu@eu.eu> wrote in message
news:cjkcaf$nq6$1@eclipse.org...
> > How to make a 'stay on top' shell(like a modal window, but the rest of
> > application still accessible)?
> >
> >
>
>
Re: Stay on top shell [message #443835 is a reply to message #443827] Sat, 02 October 2004 18:43 Go to previous message
Emmanuel Okyere is currently offline Emmanuel OkyereFriend
Messages: 18
Registered: July 2009
Junior Member
What do you mean by "documentation"? it is clearly a public field, the the javadoc says exactly what is for?

- eokyere

> thanks, but this style(SWT.ON_TOP) isn't in swt documentation :(
>
> ---
> using SWT.ON_TOP style, my Shell is 'on top' for all applications in
> my
> computer, and I whant it's 'on top' only in my application.
> (sorry for possible gramatical erros... my english is a
> %%#$##$@@!#@!#) "Veronika Irvine" <veronika_irvine@oti.com> escreveu
> na mensagem news:cjkdmf$q6u$1@eclipse.org...
>
>> Create shell with style SWT.ON_TOP:
>>
>> /**
>> * Style constant for always on top behavior (value is 1&lt;&lt;14).
>> * <br>Note that this is a <em>HINT</em>.
>> * <p><b>Used By:</b><ul>
>> * <li><code>Shell</code> and subclasses</li>
>> * </ul></p>
>> */
>> public static final int ON_TOP = 1 << 14;
>> "Cyber Vegeta" <eu@eu.eu> wrote in message
>>
> news:cjkcaf$nq6$1@eclipse.org...
>
>>> How to make a 'stay on top' shell(like a modal window, but the rest
>>> of application still accessible)?
>>>
Previous Topic:Canvas/Composite maximum size?
Next Topic:Get keyboard modifiers (stateMask) on dragStart() ?
Goto Forum:
  


Current Time: Sat Apr 27 02:49:01 GMT 2024

Powered by FUDForum. Page generated in 0.03939 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top