I was trying to do this from Internet Explorer (trying to get an XUL application to run as an ActiveX control inside IE)
Unfortunately, VBScript does not support reassignment of object pointers, since all parameters are converted to type Variant.


So it seems that capture of the NewWindow2 event is a workaround for some environments, but not all.

Any ideas?

Yonatan

irongut wrote:

You need to write a method for the NewWindow2 event of the control. In ppDisp return an interface to the same control (to reuse it) or spawn a new window containing a control and return its interface.



Dave Murray Glasgow, UK PGP KeyID: 0x838592B3

Remove NOSPAM from my email address to reply.




[EMAIL PROTECTED] wrote:

Did anyone succeed doing this?

window.open does not work, as well as nsWindowWatcher.openWindow.

An example will be appreciated.

Thanks

Yonatan
_______________________________________________
mozilla-embedding mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to