On 10/9/07, Adar Wesley <[EMAIL PROTECTED]> wrote: > > Hi Andreia, > > Is this implementation a wrapper around IE and/or Windows specific? >
It is a wrapper for Mozilla, so it's not windows-specific. It runs on Linux and Windows at the moment. I have a sample application that hosts the WebBrowser control on a WinForms > application. > In this sample I do the following: > 1. derive from the WebBrowser control. > 2. overrid the Site associated with the browser by overriding > CreateWebBrowserSiteBase. > 3. Hook up the DWebBrowserEvents2 events > 4. Interact with the hosted JavaScript by supplying ObjectForScripting. > 5. Inject some JavaScript to the browser scripting environment. > 6. A little more Win32 and COM interop magic to override the scripting > environment window.open and window.close methods so I can control > where popup windows are opened. > Very interesting, thank you for the feedback. What you describe is not supported right now, but I would love to have a test case for this to help my implementation, it would be immensely useful. :) andreia gaita
_______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list
