Re: ShowBrowserBar failing

From: Igor Tandetnik (itandetnik_at_mvps.org)
Date: 01/17/05


Date: Mon, 17 Jan 2005 10:14:12 -0500


"Dean Hallman" <deanh@sc.rr.com> wrote in message
news:S%5Gd.2528$K72.309321@twister.southeast.rr.com
> I'm calling ShowBrowserBar to programmatically show or hide my own IE
> InfoBand (IE side panel). In my app, the BHO and IE InfoBand are
> separate COM objects in a single DLL. This function fails if this
> particular IE side panel hasn't previously been displayed manually
> (by going to View->ExplorerBar). Works fine if I manually view the
> browser bar first, then close it and then call ShowBrowserBar.

Call ShowBrowserBar twice in a row - once to hide and again to show.
Under certain circumstances, IE gets confused as to whether the band is
already displayed or not. Calling ShowBrowserBar twice clears this
confusion.

-- 
With best wishes,
    Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not 
necessarily a good idea. It is hard to be sure where they are going to 
land, and it could be dangerous sitting under them as they fly 
overhead. -- RFC 1925 


Relevant Pages

  • Re: ShowBrowserBar failing
    ... > I'm calling ShowBrowserBar to programmatically show or hide my own IE ... > InfoBand (IE side panel). ... the BHO and IE InfoBand are ... confusion. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: ShowBrowserBar failing
    ... > I'm calling ShowBrowserBar to programmatically show or hide my own IE ... > InfoBand (IE side panel). ... the BHO and IE InfoBand are ... confusion. ...
    (microsoft.public.dotnet.framework.interop)