Skip to main content

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


Yes, the assumption is good.  Investigate the untyped SWT.Activate event.



Seth B Chisamore <schisamo@xxxxxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx

01/07/2004 09:29 AM
Please respond to platform-swt-dev

       
        To:        platform-swt-dev@xxxxxxxxxxx
        cc:        
        Subject:        [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