how to handle mouse click outside component? [message #442668] |
Fri, 10 September 2004 15:54 |
Eclipse User |
|
|
|
Originally posted by: marcin.NOSPAM.swt-controls.com
Hi,
I have a form with my custom control extending Composite.
When control is active (has focus) I want to handle mouse click outside it.
Is there any way to handle such event?
parent.setMouseListener is not enough for me...
Any ideas?
Thanks
Marcin
|
|
|
Re: how to handle mouse click outside component? [message #442671 is a reply to message #442668] |
Fri, 10 September 2004 16:11 |
Eclipse User |
|
|
|
Originally posted by: marcin.NOSPAM.swt-controls.com
marcin naglik wrote:
> Hi,
> I have a form with my custom control extending Composite.
> When control is active (has focus) I want to handle mouse click
> outside it. Is there any way to handle such event?
I've searched group for a moment and found some partial solution.
Tell me if I'm wrong.
On get focus I can register mouse listener on display and then unregister it
on focus lost.
?
|
|
|
|
Powered by
FUDForum. Page generated in 0.01978 seconds