Yury Lobanov
unread,Dec 7, 2013, 4:57:04 PM12/7/13You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
I have a C++ XPCOM
I need to open another window. I use
ret = mainWindow->Open(nsString(L"chrome://myapp/content/test_win.xul"), nsString(L"wname"), nsString(L"chrome,centerscreen,resizable=true"), &w);
then I need to wait until the page is loaded.
Other way the program crashes after
w->GetDocument(&d);
In Javascript I can use onload="calllback_func" in window tag.
How to do it in C++?
Searching all day in MDN and google have not helped.