ISnatch

Good time of the day,

I'm developing an IE explorer bar, which in turn ought to be shown by resident BHO COM object (ruled by some logic) that implements IOleCommandTarget interface (for simple user interaction handling through custom toolbar button). Everything is tip-top notch - button is shown within ie toolbar only and dispatches command to bho object which in turn bravily handles it and shows/hides my side bar. However, after IE (as well as windows explorer) recognises my explorer bar object, it adds menu entry, under View->Explorer Bar->{my ie bar}. Is there any way to avoid my ie bar to appear in a menu

Thank you




Re: Internet Explorer Extension Development HowTo get rid of the menu item..

IECUSTOMIZER

Hi,

No, when your COM is registered it adds an Implemented category for an ExplorerBar to the CLSID entry. When windows starts it enums the CLSID's looking for these Implementations to build the list of Explorer Bars to appear in the menu. You could change the menu string (the default value on the CLSID entry in the registry) to deceive (/hide) the user.

An alternative would be to use ActiveX injection and to inject your explorer bar into the current document, giving the impression that it is an explorer bar. Launching this with a toolbar button is a completely different exersize and would require a complete rethink of your project.

There is a limit of 16 Explorer bars that can be added to the IE Explorer Bars menu, but those that are not visible in the menu selection are not loaded and cannot be displayed with a toolbar button or the showBrowserBar method.

Regards.






Re: Internet Explorer Extension Development HowTo get rid of the menu item..

IECUSTOMIZER

Hi,

Another thought. Create a satelite BHO and use the menu apis to remove your explorer bars menu entry from IE's menu.

Regards.