Right Click Context Menu Mouse Input not being processed.

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.

Re: Right Click Context Menu Mouse Input not being processed

Postby magreenblatt » Thu Jun 28, 2018 3:26 pm

You can google "javascript context menu" to find many examples.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Right Click Context Menu Mouse Input not being processed

Postby igjpalmer » Thu Jun 28, 2018 5:15 pm

I was mostly asking about using Javascript in CEF. I could find the HTML,CSS, and JS to make the menu, but getting that to run on an arbitrary page through CEF is the part that I'm unsure about.
igjpalmer
Techie
 
Posts: 16
Joined: Tue Jun 26, 2018 3:48 pm

Re: Right Click Context Menu Mouse Input not being processed

Postby magreenblatt » Thu Jun 28, 2018 6:26 pm

You can inject JavaScript as described at https://bitbucket.org/chromiumembedded/ ... gration.md. However if you don't control the web content there's the possibility of the page interfering. Depending on what options you show in the context menu you might also implement them using your own native code.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Previous

Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 54 guests