"Boris Zbarsky"  wrote in message:
> Put it into a DOM?  Or are you doing that somewhere?

After I create the iframe I do the following:
nsCOMPtr<nsIDOMElement> rootElem ;
rv = mMainDoc->GetDocumentElement(getter_AddRefs(rootElem));
 if (NS_FAILED(rv)) {
     return rv;
 }
 nsIDOMNode *pChild;
 rootElem->AppendChild(iFrame, &pChild);

This is how the iframe is attached to the DOM.
-Michael.





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

Reply via email to