How SendMouseClickEvent works?

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

How SendMouseClickEvent works?

Postby forhappy » Tue Mar 03, 2015 12:38 am

Hi,

I'm new to CEF and I wonder how browser->GetHost()->SendMouseClickEvent works, I saw the unittest: https://code.google.com/p/chromiumembed ... est.cc#491, what CEF will do after SendMouseClickEvent, I cann't find any OnMouseClickEvent callback/handler?

Thanks
forhappy
Newbie
 
Posts: 6
Joined: Tue Mar 03, 2015 12:16 am

Re: How SendMouseClickEvent works?

Postby magreenblatt » Tue Mar 03, 2015 12:47 pm

The mouse click event will be sent to the renderer and used to interact with the web content. You can also listen for mouse click events in JavaScript.
magreenblatt
Site Admin
 
Posts: 12407
Joined: Fri May 29, 2009 6:57 pm

Re: How SendMouseClickEvent works?

Postby forhappy » Tue Mar 03, 2015 9:17 pm

magreenblatt wrote:The mouse click event will be sent to the renderer and used to interact with the web content. You can also listen for mouse click events in JavaScript.

Thanks for your explanations ;-)
forhappy
Newbie
 
Posts: 6
Joined: Tue Mar 03, 2015 12:16 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 30 guests