tags:

views:

101

answers:

0

I have a dialog with a SWT Browser in it. I want to be able to track the mouse coordinates as the mouse moves over the browser control, but it doesn't seem to work like other controls.

Adding a mouse listener to the browser control has no effect and using Display.addFilter() detects mouse movements everywhere but over the browser control.

(I could call setEnabled(false) on the browser and detect mouse events below it, but that has the unfortunate side effect of disabling the browser.)

Oh, I should also mention that the browser is filled with a flash movie, although that doesn't seem to affect the outcome.

Any ideas?