Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Title and borderless window?
Title and borderless window? [message #454771] Thu, 28 April 2005 10:24 Go to next message
Ruediger Ide is currently offline Ruediger IdeFriend
Messages: 1
Registered: July 2009
Junior Member
Is there a way to get a shell (or something else) without any title and
border on top of an existing window? Like a popup menu but with some
controls in it.

Any help would be appreciated!

Rudi
Re: Title and borderless window? [message #454772 is a reply to message #454771] Thu, 28 April 2005 10:46 Go to previous messageGo to next message
Benjamin Pasero is currently offline Benjamin PaseroFriend
Messages: 337
Registered: July 2009
Senior Member
I am not sure if its possible to get rid of the Borders of a Shell. But
when passing "SWT.NONE" or "SWT.ON_TOP" to the constructor of a new
Shell you will not get a Title area with buttons.

Ben

> Is there a way to get a shell (or something else) without any title and
> border on top of an existing window? Like a popup menu but with some
> controls in it.
>
> Any help would be appreciated!
>
> Rudi
Re: Title and borderless window? [message #454781 is a reply to message #454771] Thu, 28 April 2005 14:49 Go to previous message
Max Rotvel is currently offline Max RotvelFriend
Messages: 21
Registered: July 2009
Junior Member
On Thu, 28 Apr 2005 12:24:49 +0200, Rudi <rudi@arivis.com> wrote:

> Is there a way to get a shell (or something else) without any title and
> border on top of an existing window? Like a popup menu but with some
> controls in it.

Just open a shell with the original shell as parent and the NO_TRIM style:

Shell parent = ....
Shell popup = new Shell(parent, SWT.NO_TRIM);

--
Max - rotvel AT bolignet-aarhus DOT dk
Previous Topic:Palette component
Next Topic:Non-selectable table?
Goto Forum:
  


Current Time: Thu Feb 25 07:42:44 GMT 2021

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

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

Back to the top