Internet Explorer MSHTML/DHTML API shows in detail how to host and customize MsHtml.Internet Explorer Browser Control Host shows in detail how to host WebBrowser (ShDocVw). Describes the components and OLE interfaces of WebBrowser.
Take Control of Internet Explorer with Advanced Hosting Techniques by Scott Roberts. An article that appeared in MIND (currently called MSDN Magazine) describing the basic components of WebBrowser and the OLE interfaces required to customize it. Examples in C++ with ATL.HOWTO: Use Forward and Back Buttons for WebBrowser Control shows how to use the WebBrowser's CommandStateChange event to enable/disable the Back and Forward navigation buttons.
This page shows how to address the WebBrowser exception "Trying to revoke a drop target that has not been registered". Although the code is in Delphi, it is easy to understand for C++ and .NET Framework programmers.At www.codeproject.com there are numerous WebBrowser and MsHtml programming samples at the bottom of the page titled "IE Programming".
MFCEEvtSpy is a C++ program that shows how to handle all the events that WebBrowser can fire.Driller is a C++ program written with MFC that shows how to implement IDocHostUIHandler.
Edit Host is a C++ program written with MFC that shows how to support editing in MsHtml.Edit Designer Monitor is a C++ program written with MFC showing how to customize the MsHtml editor.
Editing Features is a C++ program written with MFC showing some enhanced customization features of the MsHtml editor.Browser Technology is the top level page for WebBrowser and MsHtml sample code. In the table of contents, select the item "Reusing Browser Technology".