如何设置MFC CHtmlView在兼容模式以外的IE8标准模式下运行? [英] How to set MFC CHtmlView runing in the IE8 standard mode other than compatibility mode?

查看:72
本文介绍了如何设置MFC CHtmlView在兼容模式以外的IE8标准模式下运行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的MFC CHtmlview应用程序中打开的网页不支持IE7或IE8兼容模式。 
$


无论如何都要让CHTMLview运行在标准模式下?我还尝试了IE开发技术博客中所述的方法,添加了注册码密钥,但它不起作用:




b />
要在IE8标准模式下运行WebBrowser控件,请在注册表中使用以下新值:



[(HKEY_CURRENT_USER或HKEY_LOCAL_MACHINE)\ Software \ Microsoft \ Internet Explorer \ Main \ FeatureControl \ FEATURE_BROWSER_EMULATION]



" MyApplication.exe" = dword 8000(Hex:0x1F40)



有没有人可以提供帮助,非常感谢提前!



The webpage I would like to open in my application with MFC CHtmlview did not support IE7 or IE8 compatibility mode. 

Is there anyway to make CHTMLview runing under standard mode? I also tried the method stated in the IE develper tech blog with adding the regisiter key, but it does not work :



To run a WebBrowser control in IE8 Standards Mode, use the following new value into the registry:

[(HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE)\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION]

"MyApplication.exe" = dword 8000 (Hex: 0x1F40)

Is there any one can help , Thanks very much in advance!


推荐答案

您好,

将有效的doctype声明添加到您的网页标记并验证并更正validator.w3.org上的错误

add a valid doctype declaration to your webpage markup and validate and correct the errors at validator.w3.org

问候。


这篇关于如何设置MFC CHtmlView在兼容模式以外的IE8标准模式下运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆