Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Capturing External Events
Capturing External Events [message #442993] Wed, 15 September 2004 17:17
Eclipse UserFriend
Originally posted by: himmeric.us.ibm.com

Hello,
I am trying to allow a user to define a region of their screen (in any
application) for a screenshot. So far I've been unable to capture any mouse
event that occurs outside of the visible region of my shell. I've tried
attaching a listener to the display but it still doesn't receive any events
outside of the application window.

Is there some simple way to add a listener at a lower level? I want to be
notified of all OS mouse events, so I can determine when a user has defined
a rectangle region with a click and drag.

I considered a glass pane that is always on top, but I presume that will not
allow users to use the underlying os (ie switch to another application
before defining a region).

Any pointers would be greatly appreciated!

Thanks,
Kyle Himmerick
Previous Topic:NS_InitEmbedding error when running SWT Browser example on Linux
Next Topic:IllegalAccessError Widget.checkBits
Goto Forum:
  


Current Time: Thu Apr 25 14:46:59 GMT 2024

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

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

Back to the top