Open in new window method, please help
"yariv" <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.windows |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
Hi all, I'm working on a small project of vc++ 6.0 and need to allow few browser controls to browse a secured site simultaneously. The problem is that when more than one browser tries to login the other browser(s) 'looses' authorization. I need the 'Open in new window' feature (hidden) in my app so I'll be able to login in the first browser and then 'duplicate' my instance to new browser window controls. I located the OnLinkOpenInNewWindow in the firefox project and found that IWebBrowserImpl::Navigate with flag navOpenInNewWindow should do the work, but I'm having problems understanding why exactly it should work (what lines of code actually causing the new browser control to 'remember' the instance/login info.). My experience with COM is limited and second, I'm using MS CHtmlView or IWebBrowser for that matter and I'm not sure that the code in the mentioned method will work as with MS IWebBrowser (although large code seems pretty similar). I wonder, can someone please help me ? Regards, Yariv