IE browser plugin [message #37190] |
Thu, 05 December 2002 00:35 |
Eclipse User |
|
|
|
Originally posted by: jkpan.mail.mii.com.tw
Hi,
I have developed a plugin which include a IExplorer(activeX control) in
'view'.
but when i browse a page, it would popup another IE window,
then the new window's function didn't work.
In normal situation (not run in eclipse plugin), it work fine.
Because there are some data communicate to the original browser(using
javascript),
i thought in eclipse plugin activeX control environment seem can't find
it's original browser (top). I have tried another plugin browser in eclipse
plugin sample,
and got the same situation.
is that true that exist some problem in javascript in iexplorer plugin?
or anyone can solve my problem.
thanks a lot.
BR.
James Pan
|
|
|
Re: IE browser plugin [message #37625 is a reply to message #37190] |
Tue, 10 December 2002 12:56 |
jml Messages: 3 Registered: July 2009 |
Junior Member |
|
|
jkpan wrote:
> Hi,
> I have developed a plugin which include a IExplorer(activeX control) in
> 'view'.
> but when i browse a page, it would popup another IE window,
> then the new window's function didn't work.
> In normal situation (not run in eclipse plugin), it work fine.
> Because there are some data communicate to the original browser(using
> javascript),
> i thought in eclipse plugin activeX control environment seem can't find
> it's original browser (top). I have tried another plugin browser in eclipse
> plugin sample,
> and got the same situation.
>
> is that true that exist some problem in javascript in iexplorer plugin?
> or anyone can solve my problem.
>
> thanks a lot.
>
> BR.
> James Pan
>
>
You may need to do some COM/OLE programming, listen to the newWindow
event fired by the IWebBrowser2, and create the new browser inside
eclipse (for example, your browser view can be a view with a CTabFolder,
each tab page containing a IE browser, and then you can create the new
browser in another tab). When you have down all these, the two
IWebBrowser will be in the same process, then I guess they can
communicate to each other.
jml
|
|
|
Re: IE browser plugin [message #587334 is a reply to message #37190] |
Tue, 10 December 2002 12:56 |
jml Messages: 3 Registered: July 2009 |
Junior Member |
|
|
jkpan wrote:
> Hi,
> I have developed a plugin which include a IExplorer(activeX control) in
> 'view'.
> but when i browse a page, it would popup another IE window,
> then the new window's function didn't work.
> In normal situation (not run in eclipse plugin), it work fine.
> Because there are some data communicate to the original browser(using
> javascript),
> i thought in eclipse plugin activeX control environment seem can't find
> it's original browser (top). I have tried another plugin browser in eclipse
> plugin sample,
> and got the same situation.
>
> is that true that exist some problem in javascript in iexplorer plugin?
> or anyone can solve my problem.
>
> thanks a lot.
>
> BR.
> James Pan
>
>
You may need to do some COM/OLE programming, listen to the newWindow
event fired by the IWebBrowser2, and create the new browser inside
eclipse (for example, your browser view can be a view with a CTabFolder,
each tab page containing a IE browser, and then you can create the new
browser in another tab). When you have down all these, the two
IWebBrowser will be in the same process, then I guess they can
communicate to each other.
jml
|
|
|
Powered by
FUDForum. Page generated in 0.06411 seconds