Ok, finally I have reached a point, where I actually should see the embedded browser. I have implemented the containing Window calls with the nsIWebBrowserChrome and nsIEmbeddedSiteWindow interfaces, and I'm successfully getting the nsWebBrowser object via contractID. I can suchsessfully query the interfaces of the WebBrowser and get it's BaseWindow and TreeItem. But whenever I'm calling SetComponentWindow on the WebBrowser to connect it with the WebBrowserChrome, no window appears at all, and the process won't shut down. When I don't call SetComponentWindow the WebBroserChrome is visible, but contains no Browser, of course. The Strange thing is, the SetComponentWindow Function always successfully returns. So I guess there is no error in the embedding Browser, since it is used in the embedding examples. But what could be wrong with my WebBrowserChrome/EmbeddingSiteWindow object?
What is reqired to successfully link the browser with the chrome?


Cheers

Jan Schukat

_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to