prasad_ark

Presently i am using 'Moveup' option to move items from dropdown menu in toolbar to main screen.Is there any way out to make this change by changing registry settings

Re: Internet Explorer Extension Development Moving items from Toolbar dropdown to main tool bar

IECUSTOMIZER

Hi (f)'ark, (was that a magpie )

I assume you are talking about the Command Bar buttons and the Customize Buttons dialog.

First up, the IE7 implementation of this is a bit flakey (when you add a new button with an installer sometimes the button appears in the list on the right, sometimes in the list on the left, in IE6 you could hold down the "move up" button and scroll the button into position, IE7 you have to continually click the move up button)

You will find the ordinal positions of the buttons under this key

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar[{1E796980-9CC5-11D1-A83F-00C04FC99D61}]

The indexed ordinals of the buttons follows the ordinal position of the Button CLSID values under

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Extensions

(Buttons can also be added under the HKLM root, but I am not sure how IE merges the keys, I usually install my buttons under the Local Machine root and leave the decision to display the button to individual users.)

However the layout of this value is undocumented (as yet) and as the mechanism for positioning Command bar buttons varies between IE7 and earlier versions I would suggest that you do not bother to position your button upon installation, but instead direct your users to a web page with instructions on how to use the Customize Buttons dialog to place the button in a position of their choosing (after all the User is King.)

Regards. (a magpie is a native bird of australia that makes a 'fark' sound)






Re: Internet Explorer Extension Development Moving items from Toolbar dropdown to main tool bar

rft

I, too, want my buttons placed in the Command Bar in a visible area, instead of at the end (and thus in the dropdown), when my plugin is installed on IE7. Haven't had success so far...
Any success at your end, prasad_ark

I don't see this key in my registry:
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar[{1E796980-9CC5-11D1-A83F-00C04FC99D61}]

However, I do see
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\LowRegistry\CommandBar[ButtonLayout]
and this value does mirror the ordinal positions of the buttons. If I reorder the sequence of numbers here, the buttons get reordered.

The problem is, though, I can't seem to find a mapping between the numbers in this value and their corresponding buttons. The values under HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Extensions only include extensions, and not the standard buttons, such as Home, Print, etc. But more importantly, until I actually customize my Command Bar, by moving around the buttons, this ButtonLayout key doesn't even exist in the registry.

So it seems that I have to accomplish what I want without using this key.

Anyone have any news on programmatically customizing the toolbar

Thanks.