Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » display stack question
display stack question [message #436460] Wed, 19 May 2004 02:25 Go to next message
Heitzso is currently offline HeitzsoFriend
Messages: 20
Registered: July 2009
Junior Member
I have an app that takes over the whole monitor
space, even the taskbar. This is perfect for the
app, exactly what I want it to do.

But then if I pop up a ListDialog to set preferences
or whatever the main app window buttons go dead
(which is what I want) except that if the user
accidentally clicks on the main app window it
moves up the display stack (which I don't want).
Now the hot dialog is completely hidden by my
main app window that took over the world.

Control-Tab will bring the ListDialog (or whatever)
back to the foreground but I can't expect a
user to know how to do that. The user's experience
is that the app died because the main app window
is on the top of the display stack but all of it's
buttons are dead (it is waiting for the hidden
dialog window to complete).

How can I clean this up? What method can I call
to force a display stack ordering that can't
be overridden by a bad mouse click?

Thanks!
Re: display stack question [message #436573 is a reply to message #436460] Wed, 19 May 2004 16:01 Go to previous messageGo to next message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Make sure the dialog window is created with a parent?

"Heitzso" <heitzso@growthmodels.com> wrote in message
news:c8egim$2d5$1@eclipse.org...
> I have an app that takes over the whole monitor
> space, even the taskbar. This is perfect for the
> app, exactly what I want it to do.
>
> But then if I pop up a ListDialog to set preferences
> or whatever the main app window buttons go dead
> (which is what I want) except that if the user
> accidentally clicks on the main app window it
> moves up the display stack (which I don't want).
> Now the hot dialog is completely hidden by my
> main app window that took over the world.
>
> Control-Tab will bring the ListDialog (or whatever)
> back to the foreground but I can't expect a
> user to know how to do that. The user's experience
> is that the app died because the main app window
> is on the top of the display stack but all of it's
> buttons are dead (it is waiting for the hidden
> dialog window to complete).
>
> How can I clean this up? What method can I call
> to force a display stack ordering that can't
> be overridden by a bad mouse click?
>
> Thanks!
>
Re: display stack question [message #436616 is a reply to message #436573] Thu, 20 May 2004 10:49 Go to previous messageGo to next message
Heitzso is currently offline HeitzsoFriend
Messages: 20
Registered: July 2009
Junior Member
Problem was the GTK SWT environment. Problem present in 2.1.2 and 3.0M8.
I switched over to testing on Windows and that problem went away (3.0M8).
Another problem cropped up -- default is nothing selected in DialogList
but if you click on OK button the Java VM crashes.
Re: display stack question [message #436641 is a reply to message #436616] Fri, 21 May 2004 12:45 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Enter a bugzilla report.

"Heitzso" <heitzso@growthmodels.com> wrote in message
news:c8i2fd$usd$1@eclipse.org...
> Problem was the GTK SWT environment. Problem present in 2.1.2 and 3.0M8.
> I switched over to testing on Windows and that problem went away (3.0M8).
> Another problem cropped up -- default is nothing selected in DialogList
> but if you click on OK button the Java VM crashes.
>
>
>
Previous Topic:change toolbar image programatically
Next Topic:How to place a SashForm onto a TabItem (is a size problem)
Goto Forum:
  


Current Time: Fri Apr 26 18:35:32 GMT 2024

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

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

Back to the top