Hi, I'm starting to use New API and i have a refresh issue that i need to address : in my app, a simple page displaying Hello does not show, while more complicated pages with XML/XSL and javascript does. Yet it does work in the win32_test demo sample. Strangely, once a page is displayed, i can load a page that would not show previously !
While looking through the sources and tweaking both 'win32_test' and my code, i realized that for every call to LoadURI a new window is created. (I used spy++) I thought that it should be the root of my issue: maybe i don't have the correct window at the top. But then, why would it work with every page once i could load one ? At that point, i'm stuck: Apparently this is done inside the XPCOM module, and i could not find a way to list the windows opened to bring the last created to the front, or to close them properly. (in the example a list of window is created, but never filled.) Is it standard behavior ? (I'm compiling with visual2005, using xulrunner sdk and the demo sample cited in the wiki. I re-used the embed.cpp file from the sample. I have not yet tampered with the code since i can't make it work. _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
