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)
- Edited by brearley1980 Monday, July 30, 2012 3:40 PM
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
- Marked As Answer by Mike Dos ZhangMicrosoft Contingent Staff, Moderator Tuesday, July 31, 2012 5:40 AM
- Unmarked As Answer by brearley1980 Tuesday, July 31, 2012 3:16 PM
Tuesday, July 31, 2012 3:22 PM
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.
Wednesday, August 01, 2012 3:54 AMModerator
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?
Wednesday, August 01, 2012 9:07 AMModerator
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.
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.
- Edited by Enamul Kh-MSFTMicrosoft Employee Thursday, August 02, 2012 9:21 PM
Monday, August 13, 2012 11:55 PMThis 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
any news about this argument? We are facing the same issue...
Thank you very much...