Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Display shells
Display shells [message #440005] Tue, 20 July 2004 14:43 Go to next message
Eclipse UserFriend
Originally posted by: "prenom.,nom".sextant.thomson-csf.com

Hi,

I want to display a shell only when a first shell is disposed. Actually the two
shells are displayed at the same time. How can I do to synchronize them? Is this
a problem of modality?

I hope you'll be able to help me.
Thank you in advance.

Fabrice
Re: Display shells [message #440030 is a reply to message #440005] Wed, 21 July 2004 12:27 Go to previous message
Tiberiu Caprita is currently offline Tiberiu CapritaFriend
Messages: 68
Registered: July 2009
Member
Hi Fabrice,
I don't understand very well your problem, but you can control shells in
following way:
use a ShellListener() or DisposeListener() on the first shell.
You have to choose between creation of 2nd shell when first one is closed
(that is in listener), or to use setVisible() method, making the 2nd
visible (before to give the control of main while() you should make it
setVisible(false)).

Regards,
Tiberiu


JAYLES Fabrice wrote:

> Hi,

> I want to display a shell only when a first shell is disposed. Actually the
two
> shells are displayed at the same time. How can I do to synchronize them? Is
this
> a problem of modality?

> I hope you'll be able to help me.
> Thank you in advance.

> Fabrice
Previous Topic:Which IDispatch interface OleAutomation "auto" selects
Next Topic:Why does my APP blow up Now?
Goto Forum:
  


Current Time: Thu Apr 25 04:02:35 GMT 2024

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

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

Back to the top