Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Opening non modal window
Opening non modal window [message #455853] Fri, 20 May 2005 12:49 Go to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

I have a really simple question but can not manage to find a solution on
my own. Is it in SWT or Jface possible to simply open a second window
without blocking the main own. Is it possible to open non-modal windows?

The setBlockOnOpen-Method is what I want because then the programm does
not stop when the dialog is opened but i can not go back to the main
window until I've closed it. The application I'm developing is only
supposed to run on win32 so a win32 only solution is also acceptable.

thanks

Tom
Re: Opening non modal window [message #455862 is a reply to message #455853] Fri, 20 May 2005 17:31 Go to previous message
Emil Crumhorn is currently offline Emil CrumhornFriend
Messages: 169
Registered: July 2009
Senior Member
This (example) creates a window that's not modal, that can drop behind the
main app and appears on the toolbar as a seperate item;

Shell notModal = new Shell(SWT.DIALOG_TRIM | SWT.RESIZE | SWT.MAX |
SWT.MIN);

Is that what you are after?

Emil

"Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
news:d6kmeq$jn1$1@news.eclipse.org...
> Hi,
>
> I have a really simple question but can not manage to find a solution on
> my own. Is it in SWT or Jface possible to simply open a second window
> without blocking the main own. Is it possible to open non-modal windows?
>
> The setBlockOnOpen-Method is what I want because then the programm does
> not stop when the dialog is opened but i can not go back to the main
> window until I've closed it. The application I'm developing is only
> supposed to run on win32 so a win32 only solution is also acceptable.
>
> thanks
>
> Tom
Previous Topic:SWT and JDK 1.5
Next Topic:FormText robustness?
Goto Forum:
  


Current Time: Thu Mar 28 22:59:30 GMT 2024

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

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

Back to the top