IWebBrowser2问题 - 如何在新窗口中打开文档? [英] IWebBrowser2 issues - how to open documents in new windows?

查看:181
本文介绍了IWebBrowser2问题 - 如何在新窗口中打开文档?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有IWebBrowser2 ctrl嵌入我自己的对话框。我想简单地
在我的URL显示一个促销横幅。如何禁用所有弹出
菜单项从控件,并强制它在新窗口中打开链接
(目前当我单击链接的横幅,它正在打开
在同一控件)。
谨慎处理
Dominik

I have IWebBrowser2 ctrl embedded into my own dialog. I want to simply display a promo banner within it from my url. How to disable all popup menu items from the control and force it to open links in new window (currently when I click on link in the banner, it is being opened within the same control). Regards Dominik

推荐答案

请参阅以下文章:

WebBrowser自定义

这篇关于IWebBrowser2问题 - 如何在新窗口中打开文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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