Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » SWT.ON_TOP for Workbench Window
SWT.ON_TOP for Workbench Window [message #106068] Mon, 04 August 2003 15:36 Go to next message
Matthew Hatem is currently offline Matthew HatemFriend
Messages: 47
Registered: July 2009
Member
This is a multipart message in MIME format.
--=_alternative 0055E95185256D78_=
Content-Type: text/plain; charset="US-ASCII"

The SWT.ON_TOP style seems to work fine for Shells. However when I apply
this style to the workbench window (by hacking of course) the workbench
window remains "on top" only until I resize it a few times, then it
behaves like any other window. Can someone explain why this is happening?


Heres the code I used to apply the style.

at the bottom of WorkbenchWindow's constructor...

setShellStyle(getShellStyle() | SWT.ON_TOP);

--=_alternative 0055E95185256D78_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">The SWT.ON_TOP style seems to work fine
for Shells. &nbsp;However when I apply this style to the workbench window
(by hacking of course) the workbench window remains &quot;on top&quot;
only until I resize it a few times, then it behaves like any other window.
&nbsp;Can someone explain why this is happening?</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
Heres the code I used to apply the style.</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
at the bottom of WorkbenchWindow's constructor...</font><font size=3> <br>
</font><font size=2 face="Courier New"><br>
&nbsp; &nbsp; &nbsp; &nbsp;setShellStyle(getShellStyle() | SWT.ON_TOP);</font><font size=3>
</font>
<br>
--=_alternative 0055E95185256D78_=--
Re: SWT.ON_TOP for Workbench Window [message #106303 is a reply to message #106068] Mon, 04 August 2003 22:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kyrra.iwichita.com

I would post this on eclipse.platform.swt. You will get a getter answer
there.

-James

Matthew_Hatem@notesdev.ibm.com wrote:
>
> The SWT.ON_TOP style seems to work fine for Shells. However when I
> apply this style to the workbench window (by hacking of course) the
> workbench window remains "on top" only until I resize it a few times,
> then it behaves like any other window. Can someone explain why this is
> happening?
>
> Heres the code I used to apply the style.
>
> at the bottom of WorkbenchWindow's constructor...
>
> setShellStyle(getShellStyle() | SWT.ON_TOP);
Re: SWT.ON_TOP for Workbench Window [message #106906 is a reply to message #106303] Tue, 05 August 2003 19:36 Go to previous message
Matthew Hatem is currently offline Matthew HatemFriend
Messages: 47
Registered: July 2009
Member
This is a multipart message in MIME format.
--=_alternative 006BE92885256D79_=
Content-Type: text/plain; charset="US-ASCII"

I did and got no response ;-)

--=_alternative 006BE92885256D79_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">I did and got no response ;-)</font>
<br>
--=_alternative 006BE92885256D79_=--
Previous Topic:gtk vs. motif builds
Next Topic:JRE for Eclipse under Neutrino..
Goto Forum:
  


Current Time: Fri Mar 29 01:15:49 GMT 2024

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

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

Back to the top