On May 30, 12:47 pm, "Christian" <[EMAIL PROTECTED]> wrote: > some time ago, there was a windows forms control for the .net framework, > called Mozilla Browser Class. I think this control is not up to date anymore, > because the last news entry is from 2005.. Is there a >way to embed a current version of Gecko in a Windows Forms Application?
I replied to this a while ago but didn't post to the list, so for anyone interested, Mono's Windows Forms implementation currently includes a WebControl which uses Gecko as the browser engine. It works on Windows and Linux, and supports xulrunner 1.8 and 1.9 (currently under testing). The Mono.WebBrowser library is the binding that Mono winforms uses to drive WebControl, and can be used with Mono or MS.NET to embed the browser on any window (literally any window handle will do, so you can pass it a winforms Handle or a Gtk handle, if you're using gtk instead of winforms, for instance). You can get the latest release from http://mono-project.com/Downloads, or get the source for Mono.WebBrowser at http://anonsvn.mono-project.com/source/trunk/mcs/class/Mono.WebBrowser/. You can look at how winforms embeds it by looking at the WebBrowser.cs, WebBrowserBase.cs and the Html* classes at http://anonsvn.mono-project.com/source/trunk/mcs/class/Managed.Windows.Forms. A supporting glue library called gluezilla is also needed, which is available in the installer package or at http://anonsvn.mono-project.com/source/trunk/gluezilla, if you'd like to build from source. andreia gaita Mono Team _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
