The following example demonstrates how to embed the WebBrowser control, using ATL.DLL as the OLE container, and implement features like navigation, find, print preview, page setup, print, properties, save, and cancellation of the creation of new windows.