OpenGL embedding problem...

2006-09-18 Thread Ali Nadalizadeh
Hi I've just started to build an opengl gecko plugin and at the begining i found that when my app loads as a shared object (.so) with firefox it can't use the GLX Direct Rendering extensions and creates an indirect context. with this error : freeglut (./roboweb): Unable to create direct context

Re: loadURI error

2006-09-18 Thread Boris Zbarsky
philippe wrote: In the mfcEmebed for example, a dialogBox is displayed when you set a bad adress. " could not be found.." I want to catch those errors, and manage them by myself. You can't, really. There's a bug on that. Right now your choices are either the dialog or an error page...

Re: How to obtain the nsIDOMWindow from an nsIDOMHTMLElement

2006-09-18 Thread Boris Zbarsky
Niky Williams wrote: If this does not continue to work, are you aware of any plans to add a method to the nsIDOMDocument to get the nsIDOMWindow directly (kinda like the nsIDOMWindow::GetDocument () to get the nsIDOMDocument)? Or at least a suitable workaround? Thanks for your time. Yes, if

Embedding mozilla w/ .NET - problems with debug compilation

2006-09-18 Thread [EMAIL PROTECTED]
So using uBrowser as an example I'm trying to embed mozilla in my application. My application just happens to be in .NET already, so I've put the supporting C++ code into a Managed c++ assembly. Everything works fine if I use the non-debug of the mozilla libraries I've built. If I use the debug lib

Embedding Firefox: drawing and printing

2006-09-18 Thread Artem Ananiev
I'm writing a Java application that embeds Mozilla-based browser using JavaXPCOM/Xulrunner. I'm currently trying to make embedded browser print its contents. nsIWebBrowser component also implements nsIWebBrowserPrint interface that can be used for printing. However, it is suitable only when I

loadURI error

2006-09-18 Thread philippe
I want to catch a loadUri Error. In the mfcEmebed for example, a dialogBox is displayed when you set a bad adress. " could not be found.." I want to catch those errors, and manage them by myself. How can I do that thank's a lot for your help _

Re: How to obtain the nsIDOMWindow from an nsIDOMHTMLElement

2006-09-18 Thread Niky Williams
Boris Zbarsky wrote: Zeeshan wrote: Does anybody here know a simple way of doing this? QI to nsIDOMDocumentView and get the defaultView... Although it's not completely guaranteed that this will continue to work, pending some W3C standardization activity. -Boris Boris, If this does not c