[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: Receiving Key- and MouseEvents while being out of focus?
|
Hi Andreas,
There is no api for this. The highest level you can add a key listener at
is Display.setFilter(...), which can notify you of any events within your
app. I could not find an existing Feature Request for what you're asking,
so if you want you can log one at
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform&component=SWT&bug_severity=enhancement .
Grant
"Andreas" <a.rettig@xxxxxx> wrote in message
news:fb3f35eeeec7fc976bb8ed6c0acfe10c$1@xxxxxxxxxxxxxxxxxx
> Hi together,
>
> maybe I can't guess the right keywords in google to find a solution :-| ?
>
> I'm looking for a way to be informed about MouseEvents and Keystrokes
> while beeing out of focus, like a Keylogger does or programs which provide
> little helpers bind to certain keystrokes etc.
> THe application I'm working on has to listen to some Shortcuts in the
> background while the user is working with another software in the
> foreground.
> Thanks for help
> Andreas Rettig, Berlin
>