积极答复者
WebBrowser屏蔽安装插件弹出的安全警告窗口

问题
答案
-
你好,
根据您的描述,我建议您可以使用IWebBrowser2::Silent属性。这个属性可以帮您获取和设置是否显示弹处窗口。您可以设置VARIANT_TRUE来屏蔽窗口。您可以从以下地址获取更多信息:http://msdn.microsoft.com/en-us/library/ie/aa768269(v=vs.85).aspx
Rob Pan [MSFT]
MSDN Community Support | Feedback to us
- 已标记为答案 cppcoffee 2012年2月13日 2:15
-
用ProcessUrlAction禁用这个ActiveX的话,访问网页会弹出另一个对话框提示ActiveX已被禁用,
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- 已标记为答案 cppcoffee 2012年2月13日 2:15
全部回复
-
你好,
根据您的描述,我建议您可以使用IWebBrowser2::Silent属性。这个属性可以帮您获取和设置是否显示弹处窗口。您可以设置VARIANT_TRUE来屏蔽窗口。您可以从以下地址获取更多信息:http://msdn.microsoft.com/en-us/library/ie/aa768269(v=vs.85).aspx
Rob Pan [MSFT]
MSDN Community Support | Feedback to us
- 已标记为答案 cppcoffee 2012年2月13日 2:15
-
用ProcessUrlAction禁用这个ActiveX的话,访问网页会弹出另一个对话框提示ActiveX已被禁用,
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- 已标记为答案 cppcoffee 2012年2月13日 2:15