How to click

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 to click

Postby silver » Tue Feb 24, 2015 5:43 am

Hi

After loading a certain page inside the cef widget, how can I simulate a mouse click at a certain coordinate on the page ?
Like clicking a button.

regards
Silver
User avatar
silver
Techie
 
Posts: 48
Joined: Tue Feb 24, 2015 5:39 am

Re: How to click

Postby magreenblatt » Tue Feb 24, 2015 4:57 pm

Use CefBrowserHost::SendMouseClickEvent(). See for example https://code.google.com/p/chromiumembed ... est.cc#491.
magreenblatt
Site Admin
 
Posts: 12407
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: Majestic-12 [Bot] and 29 guests