On May 22, 5:50 am, Boris Zbarsky <[EMAIL PROTECTED]> wrote:
> yakobom wrote:
>
>  > I tried using GetPrimaryFrameFor on the root content
>
> > and then  GetFrameForPoint, but it didn't work (perhaps I missed some
> > coords translation?).
>
> What coordinates did you pass in, exactly?
>
> -Boris

I got the mouse coordinates within the window by using Windows API,
then translated it to twips and added the proper offset (I took the
code from nsViewManager::DispatchEvent). I've tried playing with that,
but nothing worked. Have any tips or working code for that? I
deliberately do not want to send an event to Mozilla in order to get
what I need.

Thanks,
yakobom
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to