I've not looked at any other sources except the ones in 1.7.12 . so i don't know if this will work for the HEAD.. Any other ways to do this, please lemme know. Flash animations in the browser window still don't get the mouse events.
"Richard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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
