I am trying to send native OS (Windows currently) mouse events to Gecko in lieu of being able to figure out how to use native Mozilla events.
I have the native window handle that Mozilla creates and can send mouse events (button up/down & move) to it. According to my window watching software (Spy++) the hidden Mozilla window is getting the right messages and the right values for X & Y. The rendered page is displayed in 3D and so I build a new mouse event based on where the mouse was clicked or moved on the rendered page. These are in general, different from the original events my application window receives although they are in the same range (0..window width and 0..window height). If I align the 3D page with the application window so that the original mouse coordinates and the generated ones are the same, everything works fine. As soon as I make them different by moving the rendered page off in 3D, things go wrong. Even though my window watcher is telling me that the hidden Mozilla window is receiving the modified coordinates, the application behaves as if the hidden Mozilla window is receiving the original ones. Does anyone know if this ought to be possible and if so, what might I be doing wrong? Maybe it's a threading issue? Can anyone suggest something else to try? Cheers. Cal. _______________________________________________ mozilla-embedding mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-embedding
