Richard wrote:
but how do I get the interface to the nsIDocument

will something like this work;
nsCOMPtr<nsIDocument> dom = do_QueryInterface(mWebBrowser, &rv);

Ah, no. If what you have is an nsIWebBrower, I strongly suggest using the javascript: thing. Anything else would rely on implementation details...

-Boris
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to