Caret position drawing

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.

Caret position drawing

Postby TomDigitale » Fri Oct 03, 2014 9:44 am

Hello,
I would like to know if there was a way to draw the caret without sending a mouse event using off-screen rendering.
I know that we have to set caret_browsing from the browser settings in order to draw the caret position correctly when sending mouse event, but we don't send mouse event: we are using multitouch hardware and to simulate touch events, we execute some javascript. Everything works perfectly except for the caret position which wont draw, even if the focus is correct in the form.

I'm currently using CEF 1916.1755 on Windows 8.
TomDigitale
Techie
 
Posts: 18
Joined: Fri Mar 14, 2014 6:00 am

Re: Caret position drawing

Postby magreenblatt » Fri Oct 03, 2014 9:59 am

Are you passing any touch-related command-line flags? For example, `--touch-events=enabled`. See also https://code.google.com/p/chromiumembed ... il?id=1059.
magreenblatt
Site Admin
 
Posts: 12384
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot], ndesktop and 48 guests