Hi,
I am trying to open winEmbed with an HTML page as a default page when it
first starts up, instead of tyring to open a URL site. I don't know what
these functions do in the file winEmbed.cpp though... which I believe are
the ones that start searching the URL and load it in to the browser window
as a start up page.
nsresult OpenWebPage(const char *url)
{
:
:
:
// Start loading a page
nsCOMPtr<nsIWebBrowser> newBrowser;
chrome->GetWebBrowser(getter_AddRefs(newBrowser));
nsCOMPtr<nsIWebNavigation> webNav(do_QueryInterface(newBrowser));
return webNav->LoadURI(NS_ConvertASCIItoUCS2(url).GetUnicode(),
nsIWebNavigation::LOAD_FLAGS_NONE);
}
return rv;
}
Does anybody know what each of these lines do?
Thanks,
Fatima
loading an HTML page on winEmbed browser window
CORONA,FATIMA (HP-Boise,ex1) Tue, 24 Jul 2001 10:37:56 -0700
- Re: loading an HTML page on winEmbed browser ... CORONA,FATIMA (HP-Boise,ex1)
- Re: loading an HTML page on winEmbed bro... Chak Nanga
- RE: loading an HTML page on winEmbed bro... CORONA,FATIMA (HP-Boise,ex1)
