mutli touch support in WPF vs Winforms

Having problems with building or using the CefGlue .NET/Mono binding? Ask your questions here.

Moderator: fddima

mutli touch support in WPF vs Winforms

Postby thernav » Thu Jun 12, 2014 2:00 pm

i used the --touch-events=enabled command line switch in a CEF glue winforms app and a WPF app. Touch events are recorded only in the winforms app when using http://www.rbyers.net/eventTest.html and not WPF.

is there something i am missing here ?
thernav
Newbie
 
Posts: 2
Joined: Thu Jun 12, 2014 1:45 pm

Re: mutli touch support in WPF vs Winforms

Postby fddima » Fri Jun 13, 2014 8:15 am

"WPF" sample demonstrate using of windowless rendering feature. It did not pass-thru touch events, as it does with mouse events.
So you should grab touch events and convert them into number of CefBrowserHost.SendXxx methods. Currently it supports only mouse, so you should emulate mouse, or extend CEF.
fddima
Master
 
Posts: 788
Joined: Tue Dec 07, 2010 6:10 am

Re: mutli touch support in WPF vs Winforms

Postby magreenblatt » Fri Jun 13, 2014 10:30 am

If you're using the 1650 branch you can try the patch from https://code.google.com/p/chromiumembed ... il?id=1059 that adds multi-touch support to CEF. You will of course need to make your own build of CEF.
magreenblatt
Site Admin
 
Posts: 12383
Joined: Fri May 29, 2009 6:57 pm

Re: mutli touch support in WPF vs Winforms

Postby thernav » Fri Jun 13, 2014 11:21 am

does the current branch require windowless rendering to use the WPF CEFGLUE control ?
thernav
Newbie
 
Posts: 2
Joined: Thu Jun 12, 2014 1:45 pm


Return to CefGlue Forum

Who is online

Users browsing this forum: No registered users and 12 guests