yekerui wrote:
Hi, Benjamin:
    Thanks a lot for your response!
All I want is to query URL on a mozilla browser without creating a new URL. However, I can not find a way to query URL after looking through all of interface definitions in the directory ..\gecko_sdk\idl\. Could you give me a hint how to get an URL address like http://www.firefox.com displayed on browser. I did google search, but I can get any clues about getting URL from XPCOM/C++.
    Again, thanks a lot for your help.

What kind of browser? What object(s) do you have a reference to? XPCOM doesn't really have any concept of a browser, you have to have a reference to the browser object that you want to query, and then you ask it what location is loaded.

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

Reply via email to