Hosing the Web browser control inside WPF or Winforms app looses multi touch gestures support

Proposed Hosing the Web browser control inside WPF or Winforms app looses multi touch gestures support

  • Monday, July 30, 2012 3:38 PM
     
     

    I'm trying to build a wrapper application in WPF or Winforms - wrapping the WeBrowser control.  Straight forward stuff.  I then navigate to the IE 10 test drive site: http://ie.microsoft.com/testdrive/Browser/BrowserSurface/ and this demo doesn't work.

    I suspect it's a problem with MSGesture working in a container but Is this a bug for a feature?  Should it be working or not?

    Cheers

    (IE10, Windows 8)

All Replies

  • Monday, July 30, 2012 11:30 PM
     
     

    It is a feature, the hosted webbrowser stuck in IE7 mode unless you opt in new browser mode - and your web page asks to be rendered in that mode, or after you force the IE10 mode.



    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
    Visual C++ MVP

  • Tuesday, July 31, 2012 3:22 PM
     
     

    Hi There

    I changed the Registry setting to force IE10 mode - and verified how it was being rendered.  My aim is to get this to run http://ie.microsoft.com/testdrive/Browser/BrowserSurface/ but it just doesn't when in a wrapped browser control.  Ive got a much simpler page that does render in IE Standards mode in IE, and in the WebBrowser control - I alerted  alert(document.documentMode) and it is indeed 10.

    In a simpler test I've done I have a semtic zoom type setup going on, the pinch gesture works OK but the pointer no longer registers taps when you move the pointer to flick scroll it's just like the pointer is hovering.  The exact same page renders A-OK in IE10.

    Thanks again

  • Wednesday, August 01, 2012 3:54 AM
    Moderator
     
     

    http://sdrv.ms/OlMVJH

    Can you help me test this in your Windows 8 RP with IE10? I test it in this environment, it can work even that I have not need to change the reg.

     

    Mike Zhang[MSFT]
    MSDN Community Support | Feedback to us

  • Wednesday, August 01, 2012 7:40 AM
     
     

    Hi Mike, Thanks for the vs sln.  It's pretty much the same as the test app I've made both in WPF and Winforms  I fired it up.  The page does render but the taps do register when you change the categories i.e animals, cities flowers etc, but i cant drag or resize the images either with touch or a mouse pointer they just don't move from the circle in the right.

    Are you about to move the photos around on the surface when you load the solution?

    Many Thanks

  • Wednesday, August 01, 2012 9:07 AM
    Moderator
     
     

    I tried to set the test application to Internet Feature reg in each key what iexplore.exe configured, but it also cannot allow me drag and move the image on the web page, which IE10 can do.

    I have no idea, now, and I will try to involve others senior engineer to reply to you.

    Thanks for your patient.


    Mike Zhang[MSFT]
    MSDN Community Support | Feedback to us

  • Thursday, August 02, 2012 9:03 PM
     
     

    I was able to reproduce the issue with a Desktop app (with WebBrowser control), but the Metro version is working fine (with WebView control).

    I am looking into it.

  • Monday, August 13, 2012 11:55 PM
     
     Proposed
    This seems to be a by-design behavior in the new WebBrowser control, at least for now. We can revisit this behavior after win8 is released for the Public.

  • Monday, January 14, 2013 7:50 AM
     
     

    Hi,

    any news about this argument? We are facing the same issue...

    Thank you very much...

    Regards