herman wrote:
> On Aug 19, 8:26 am, Boris Zbarsky <[EMAIL PROTECTED]> wrote:
>> herman wrote:
>>> Does mozilla generate a nsGUIEvent when I click an anchor?
>> Yes.
>>
>>> I don't see a #define for MOUSE_CLICK.
>> You aren't looking very well, then.  It's right there in nsGUIEvent.h.
>>
>> -Boris
> 
> Thank you Boris,
> 
> I have 1 more question.  What if I mouse click on top of Mozilla flash
> plugin (on linux)?
> Will Mozilla generate a MOUSE_CLICK event and pass it to the flash
> plugin? If yes, can you please tell me where should i look for the
> code which passes the mouse click event to the flash plugin?
> 
> Thank you.
> 
nsEventStateManager creates NS_MOUSE_CLICK after NS_MOUSE_UP is handled.
To see how plugins get events, look at 
nsPluginInstanceOwner::ProcessEvent and some other methods in nsObjectFrame.


-S

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

Reply via email to