the only problem I've noticed is on the HEAD nsMouseEvent doesn't contain 
the .point anymore, it contains a .refpoint. Is this the same thing?

--Richard

"JacobZ" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> This is what i use to send mouse events to different windows.. doesn't 
> work
> if on flash animations running in a window though..
> hth
> --------------------
> nsEventStatus aStatus=nsEventStatus_eConsumeDoDefault;
>
> nsMouseEvent nsevent(PR_TRUE, NS_MOUSE_LEFT_BUTTON_DOWN, nsnull);
> nsevent.eventStructType = NS_MOUSE_EVENT;
> nsevent.message = NS_MOUSE_LEFT_BUTTON_DOWN;
> nsevent.point.x = x ;
> nsevent.point.y = y ;
> nsevent.clickCount = 1;
>


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

Reply via email to