Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Monitoring Users with SWT
Monitoring Users with SWT [message #458725] Wed, 20 July 2005 05:45 Go to next message
Eclipse UserFriend
Originally posted by: gregoire.diboula.gmx.net

Hello,

Could you tell me please, if it is possible via SWT to be informed
whenever a user presses a key (or the mouse) even if my application is
currently running in background?

Example of applications that do this are screen savers and Instant
Messaging applications. They wait a certain delay and carry some action
if no keypress occured. I would like to achieve such a behavior.

Special thank for any help.

Gregoire.
Re: Monitoring Users with SWT [message #458877 is a reply to message #458725] Mon, 25 July 2005 14:26 Go to previous messageGo to next message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
This has been asked for before and it falls a bit outside of the native
widget mandate.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=37061

"Gregoire Diboula" <gregoire.diboula@gmx.net> wrote in message
news:dbkodj$i3c$1@news.eclipse.org...
> Hello,
>
> Could you tell me please, if it is possible via SWT to be informed
> whenever a user presses a key (or the mouse) even if my application is
> currently running in background?
>
> Example of applications that do this are screen savers and Instant
> Messaging applications. They wait a certain delay and carry some action
> if no keypress occured. I would like to achieve such a behavior.
>
> Special thank for any help.
>
> Gregoire.
Re: Monitoring Users with SWT [message #459955 is a reply to message #458725] Sun, 21 August 2005 15:44 Go to previous message
Eclipse UserFriend
Originally posted by: peter.verycross.com

Try using a background thread or using the eclipse Job interface to detect
mousemoves or keyup events every n minutes etc.


"Gregoire Diboula" <gregoire.diboula@gmx.net> wrote in message
news:dbkodj$i3c$1@news.eclipse.org...
> Hello,
>
> Could you tell me please, if it is possible via SWT to be informed
> whenever a user presses a key (or the mouse) even if my application is
> currently running in background?
>
> Example of applications that do this are screen savers and Instant
> Messaging applications. They wait a certain delay and carry some action if
> no keypress occured. I would like to achieve such a behavior.
>
> Special thank for any help.
>
> Gregoire.
Previous Topic:How to get the text under mouse?
Next Topic:building SWT
Goto Forum:
  


Current Time: Fri Apr 26 14:56:29 GMT 2024

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

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

Back to the top