Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] Browser widget mousedown event.


I am creating a browser based kiosk solution and was hoping to use SWTs browser widget to run a web application inside.  One requirement I have is the use of an "attract loop" which becomes active after a set amount of user inactivity.  This timer is reset everytime there is a mouse click.  I tried adding a mousedown event listener (addMouseListener) to the org.eclipse.swt.browser.Browser object but it doesn't seem to capture the mousedown event.  My guess is when a click occurs in the browser window that is created the mousedown event is occurring inside the IE object that SWT has instantiated and this mousedown event is not passed up to the org.eclipse.swt.browser.Browser object that wraps it.  Is this a safe assumption?  Is there a workaround to capturing a mouseclick in the browser window?

Thanks for your help.

Seth

Back to the top