Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Give away focus from Composite
Give away focus from Composite [message #467358] Mon, 30 January 2006 10:42 Go to next message
Eclipse UserFriend
Originally posted by: registration1000.gmail.com

Hi there!

I am trying hard to find a solution for my problem, but unfortunately so
far without any result.

Problemdescription:
I coded a Java/SWT Chat App (for windows) which is listening for some
Events (e.g. anyone of my contacts sends me a message). If an event
occurs a message appears in the right bottom corner. (compareable with an
incoming skype oder msn messenger message).
My problem is, if i am writing in a textedior or doing something like
this, the message window takes focus while it is there near the system
tray (right bottom corner), and so i cannot write on for a few seconds.
Does anybody know how i can give away the focus (maybe back to the OS)
from Message Composite?

thanks in advance.

bye


Leo
Re: Give away focus from Composite [message #467514 is a reply to message #467358] Wed, 01 February 2006 12:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: registration1000.gmail.com

has anybody a hint for me? :-(

thanx
Re: Give away focus from Composite [message #467528 is a reply to message #467358] Wed, 01 February 2006 15:30 Go to previous messageGo to next message
Chris Gross is currently offline Chris GrossFriend
Messages: 471
Registered: July 2009
Senior Member
Show the message window using setVisible(true) rather than open().

L B wrote:
> Hi there!
>
> I am trying hard to find a solution for my problem, but unfortunately so
> far without any result.
>
> Problemdescription:
> I coded a Java/SWT Chat App (for windows) which is listening for some
> Events (e.g. anyone of my contacts sends me a message). If an event
> occurs a message appears in the right bottom corner. (compareable with
> an incoming skype oder msn messenger message).
> My problem is, if i am writing in a textedior or doing something like
> this, the message window takes focus while it is there near the system
> tray (right bottom corner), and so i cannot write on for a few seconds.
> Does anybody know how i can give away the focus (maybe back to the OS)
> from Message Composite?
>
> thanks in advance.
>
> bye
>
> Leo
>
Re: Give away focus from Composite [message #467633 is a reply to message #467528] Thu, 02 February 2006 10:11 Go to previous message
Eclipse UserFriend
Originally posted by: registration1000.gmail.com

Thanx a lot.

Works fine. ;-=

bye
Info
Previous Topic:Why am I unable to subclass an SWT control?
Next Topic:Scroll Mouse Button does not behave natively on Windows
Goto Forum:
  


Current Time: Mon Oct 14 17:44:19 GMT 2019

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

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

Back to the top