About the Browser:This section explains the architecture of Microsoft Internet Explorer 4.0 and later and provides information you will find helpful when reusing these components.
WebBrowser Customization
WebBrowser Customization: This tutorial shows you several ways to customize the "out of the box" behavior and appearance of the WebBrowser Control. You'll see how to use the advanced hosting interfaces IDocHostUIHandler, IDocHostUIHandler2, IDocHostShowUI, and ICustomDoc. This article will also look at other customization techniques such as download control through handling DISPID_AMBIENT_DLCONTROL in the host's IDispatch implementation, and using IHostDialogHelper.——
WebBrowser Customization (Part 2):Part 1 of this tutorial introduced several of the standard hosting interfaces for the WebBrowser Control: IDocHostUIHandler, IDocHostShowUI, and ICustomDoc, to name a few. Part 2 of this article explains how to retrieve a reference to the client site while processing IPersistMoniker::Load, and how to use the IServiceProvider and IOleCommandTarget interfaces to send messages between the Active document (DocObject) and its host.
浏览器集成教学 自定义浏览器(Updated for Windows XP SP2) :1.前提和需求 2.介绍 3.浏览器自定义架构 4.IDocHostUIHandler 5.IDocHostUIHandler2 6.GetOptionKeyPath 和 GetOverrideKeyPath的比较 7.控制导航 8.IDocHostShowUI 9.控制下载和执行 10.IHostDialogHelper 11.控制新的窗口 12.显示证书对话框(New!) 13.信息栏(New!) 14.结论
在MFC应用中深入定制WebBrowser控件(转):正如VC ++ 6.0的演示程序MFCIE所示,用应用程序向导创建一个具有Web导航能力的MFC应用可谓轻而易举。本文在此基础上,进一步讨论两个问题:资源自包含的实现,上下文菜单以及快捷键的完全控制。
自定义浏览器控件:同自动化浏览器相比,自动化浏览器控件(WebBrowser Control) 在应用程序中更加常用。从Outlook的预览窗格到Maxthon这样的基于IE引擎的浏览器,从无界面的HTML分析器到Norton Antivirusd的主界面,浏览器控件在众多领域被用作各种各样的用途。这也使得有必要根据具体的用户需求自定义浏览器控件的行为。Advanced customization of WebBrowser Control in Dialog based app:Shows how to customize the Microsoft WebBrowser control in a dialog based app to allow custom context menus, message boxes, windows, modal dialogs and C++ function calls from JavaScript to your application using window.external.
浏览器的定制与扩展:1。前言 2。在MFC中使用浏览器 3。怎样扩展或定制浏览器 4。定制鼠标右键弹出出菜单 5。实现脚本扩展(很重要的external接口) 6。C++代码中如何调用网页脚本中的函数 7。定制消息框的标题 8。怎样定制、修改浏览器向Web服务器发送的HTTP请求头 9。怎样修改浏览器标识 10去掉讨厌的异常警告 11怎样处理浏览器内的拖放 12怎样禁止网页元素的选取 13其它
IE 控件一些高级使用方法:1、如何显示内存中的 HTML 网页;2、如何屏蔽掉鼠标右键的上下文菜单;3、如何扩展 HTML 中的脚本(external)对象;4、如何显示 HTML 样式的对话窗;5、如何执行 HTML 脚本;
WebBrowser control:I overrode PreTranslateMessage() and in this override I pasted in VC7 MFC's code for CHtmlView::PreTranslateMessage. With a few changes to make it compile I was essentially using VC7 MFC's version of this method in an otherwise VC6 MFC app. This fixed everything!
ATL 实现定制的 IE 浏览器栏、工具栏和桌面工具栏: 1.概念 2.原理 基本band 对象 必须实现的 COM 接口 IPersistStream IObjectWithSite IDeskBand、IDockingWindow、 IOleWindow 选择实现的 COM 接口 Band 对象注册 3ATL 实现
Cookie Spy:Creating a CookieSpy explorer bar with ATL
Q180366 HOWTO: Determine When a Page Is Done Loading in WebBrowser Ctrl
Q180365 INFO: Advantages of Hosting WebBrowser Control Instead of MSHTML
Q179421 FIX: WebBrowser Control in CFormView Does Not Repaint Properly
Q179230 FILE: IEHelper-Attaching to IE4 using a Browser Helper Object
Q177269 PRB: Internet Explorer 4 Keeps Active Document Servers Running
Q177241 HOWTO: Adding to the Standard Context Menus of the WebBrowser
Q176789 PRB: Permission Denied Accessing Web Browser Control in HTML
Q175910 BUG: IDocHostShowUI::ShowHelp Not Called for IE4/MSHTML Host
Q175513 FILE: Invoke Find, View Source, Options dialogs for WebBrowser
Q175502 PRB: Tabbing Broken in WebBrowser Hosted in MFC Regular DLL
Q165074 PRB: Keystroke Problems in CView/CWnd WebBrowser Control
Q163282 HOWTO: Using Forward & Back Buttons for Web Browser Control
Q156693 FILE: IEZOOM.EXE Changes the Font Size of WebBrowser Control
bho
Browser Helper Object ("plug-in") for IE: This page has source code for a minimal C++ Browser Helper Object for Internet Explorer. It intercepts keyboard and mouse events, and changes the page's background color.