vitich00

I'm developing BHO add-on for IE 7 and I need to have settings dialog for my app. I'm not sure what will be the best place to put button which will open the dialog. In IE 6 I would probably add button to the menu, but in IE 7 menu is hidden by default, so I don't want put my button there. Right now I can see only one place where I can put this button, it's "Tools" Dropdown button (on the right side of Tab control). Is it right place to put it If so, does anybody has example how to put buttons there Is it possible from BHO

Thank.



Re: Internet Explorer Extension Development Where is the best place to put settings button in IE 7?

IECUSTOMIZER

Hi,

Just create a satellite exe for your BHO to manage its settings... users will have to restart IE before changes in your BHO's settings take effect anyway. Then you can create a button or menu extension to show your settings dialog exe.

Here is the msdn doco for creating buttons/menu extensions in IE

http://msdn.microsoft.com/library/default.asp url=/workshop/browser/ext/tutorials/button.asp

I have a utility to ease the pain of making IE buttons, but it is not ready for public release. See my library of IE buttons at

http://www.iecustomizer.com/ url=iebuttons

Contact me after you have finished if you like and I can create the button for IE and package the installer for you.

Regards.






Re: Internet Explorer Extension Development Where is the best place to put settings button in IE 7?

vitich00

Thanks a lot. It works great. I didn't realize that using this article you can add items to IE7 toolbar. I also didn't realize that adding menu items will add item under Tools in IE7.


After I tried adding button to toolbar and under Tools, I have another question. When I added item to toolbar it was added as last item to the toolbar and because of that it was hidden (I need to click ">>" in order to see). I really didn't like that. Is there any way to force button not to go to ">>" section If no I'll use "Tools" section instead, because I think it'll be more obvious for user.

Thanks,
Victor




Re: Internet Explorer Extension Development Where is the best place to put settings button in IE 7?

IECUSTOMIZER

Hi,

Yes and no.

The way buttons are displayed on the Buttons toolbar in IE6 and on the Command Bar in IE7 are different. In fact the Commandbar icon placement in IE7 is a bit flakey.

Suggest you just create a Tools menu item and a shortcut to the Setup dialog in your applications folder and perhaps a shortcut in the applications Group folder.

Also in both ie7 and ie6 users can hide both the menu bar and Buttons toolbar/Command Bar and so won't have access to your settngs dialog.

I was just caught out by a user who could not display his menu bar in ie7 (default is toggle mode) and I gave him a utility which was called from the Tools menu, not realizing that he couldn't display the Tools menu!

In ie6 there is a way to place new toolbar button on the buttons toolbar, at the front, but it requires some codeing that is beyond your normal setup program. Have a look at HKCU/Software/Microsoft/Internet Explorer/Toolbar - there is a CLSID value there that holds the buttons ordinal positions on the toolbar. If you have a tool called Regmon you can monitor the key while you change the button layout to decipher the algrithim.

The button placement algorithim is undocumented on msdn, but with the tool above you should be able to work it out. Like I said it requires some codeing that I have not been able to apply in my installers.

Usually after a sucessful Addon installation you take your users to a web page with instructions on how to add their new Button to the Buttons Toolbar/Command Bar. Much easier.

Looking forward to test driving your creation.

Regards.






Re: Internet Explorer Extension Development Where is the best place to put settings button in IE 7?

vitich00

Thanks a lot Rob.


Usually after a sucessful Addon installation you take your users to a web page with instructions on how to add their new Button to the Buttons Toolbar/Command Bar. Much easier.

Is there an easy way to do that using standard msi installer


Looking forward to test driving your creation.


I'll post a link when I'm done.