Re: Band Objects
From: Sathish (Sathish_at_discussions.microsoft.com)
Date: 10/27/04
- Previous message: Igor Tandetnik: "Re: Band Objects"
- In reply to: Igor Tandetnik: "Re: Band Objects"
- Next in thread: Igor Tandetnik: "Re: Band Objects"
- Reply: Igor Tandetnik: "Re: Band Objects"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 27 Oct 2004 13:09:06 -0700
Thanks Igor.
I also have another question(not related to band objects).
I am trying to open multiple windows of my application. Basically, I want
each of the windows to be independent of each other. I am able to do that by
using the following code in my New Window event:
Form1 newWindow = new Form1();
e.ppDisp = newWindow.axWebBrowser.Application;
newWindow.Show();
newWindow.Visible = true;
The problem I am facing is: when I close the first window(the one that was
used to create the other windows), all the other ones also get closed. Is
there a way to avoid this?
Thanks.
"Igor Tandetnik" wrote:
> "Sathish" <Sathish@discussions.microsoft.com> wrote in message
> news:8575375D-5844-4883-BA60-A5C5E8D0C17B@microsoft.com
> > I am developing an Windows Forms application using C# that hosts the
> > 'AxWebBrowser' control. On that form, I want to display the Search,
> > Favorites etc. bars.
> >
> > I searched MSDN and this group and found that I have to use
> > 'IWebBrowser2::ShowBrowserBar' to do that. I tried using that but I
> > could not make it work. Is it that I have to implement interfaces
> > like IObjectWithSite to make it work?
>
> WebBrowser control does not support browser extensions. Only stand-alone
> Internet Explorer does. If you want to support them too, you'll have to
> implement the infrastructure yourself. See this:
>
> http://msdn.microsoft.com/library/en-us/shellcc/platform/Shell/programmersguide/shell_adv/bands.asp
>
> This documentation is for the creators of explorer bands. You will have
> to read it from the other side - see what services these extensions
> expect from the host, and implement them in your application.
> --
> With best wishes,
> Igor Tandetnik
>
> "On two occasions, I have been asked [by members of Parliament], 'Pray,
> Mr. Babbage, if you put into the machine wrong figures, will the right
> answers come out?' I am not able to rightly apprehend the kind of
> confusion of ideas that could provoke such a question." -- Charles
> Babbage
>
>
>
- Previous message: Igor Tandetnik: "Re: Band Objects"
- In reply to: Igor Tandetnik: "Re: Band Objects"
- Next in thread: Igor Tandetnik: "Re: Band Objects"
- Reply: Igor Tandetnik: "Re: Band Objects"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|