Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to find top Shell from Point
How to find top Shell from Point [message #457251] Wed, 22 June 2005 19:05 Go to next message
Eclipse UserFriend
Originally posted by: aioffe.segue.com

I am a novice with SWT.
Could you advice me how to find the top in Z-order Shell from the Point
using SWT API only?
Re: How to find top Shell from Point [message #457421 is a reply to message #457251] Fri, 24 June 2005 15:16 Go to previous messageGo to next message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Not sure if this helps but you can get the active shell using
Display.getActiveShell().

"aioffe" <aioffe@segue.com> wrote in message
news:7fdd237cac7a99b7af60da8a2eeafdd4$1@www.eclipse.org...
> I am a novice with SWT.
> Could you advice me how to find the top in Z-order Shell from the Point
> using SWT API only?
>
Re: How to find top Shell from Point [message #457598 is a reply to message #457421] Tue, 28 June 2005 15:14 Go to previous message
Eclipse UserFriend
Originally posted by: aioffe.segue.com

Thank you Steve.
My concern is that it is possible to have a stack of Shells containing the
Point, but neither of them is active.The Active Shell could be located
somewhere else on the Display. I can overcome it with the JNI call, but it
seems like an overkill/

aioffe
Previous Topic:Browser.execute() failure
Next Topic:Swing port is coming - Lotus assists IBM!
Goto Forum:
  


Current Time: Tue Apr 23 16:29:31 GMT 2024

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

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

Back to the top