PDA

View Full Version : adding a button to explorer toolbar (WXP-Home)



rolasa
08-13-2004, 09:26 AM
I'm trying to programmatically add a button to the explorer toolbar that will show/hide an explorer bar that I made. The problem is that this button only appears by default on the toolbar if the user hasn't manually customized the toolbar (specifying which buttons to appear...). Is there somewhere in the registry where the buttons that do appear are stored (I noticed an article that shows how to remove some buttons, but it doesn't specify how to add them). or maybe somewhere in the registry that specifies that the toolbar is reset to default or not?

R*A*

dudeinAmerica
08-17-2004, 10:03 PM
This is what I've found by looking at Norton Antivirus's Toolbar:


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Toolbar]
"{42CDD1BF-3FFB-4238-8AD1-7859DF00B1D6}"="Norton AntiVirus"


-------------------------------------------------


[HKEY_CLASSES_ROOT\CLSID\{42CDD1BF-3FFB-4238-8AD1-7859DF00B1D6}]
@="Norton AntiVirus"

[HKEY_CLASSES_ROOT\CLSID\{42CDD1BF-3FFB-4238-8AD1-7859DF00B1D6}\InprocServer32]
@="C:\\Program Files\\Norton AntiVirus\\NavShExt.dll"
"ThreadingModel"="Apartment"

[HKEY_CLASSES_ROOT\CLSID\{42CDD1BF-3FFB-4238-8AD1-7859DF00B1D6}\ProgID]
@="Symantec.Norton.AntiVirus.IEToolBand.1"

[HKEY_CLASSES_ROOT\CLSID\{42CDD1BF-3FFB-4238-8AD1-7859DF00B1D6}\Programmable]
@=""

[HKEY_CLASSES_ROOT\CLSID\{42CDD1BF-3FFB-4238-8AD1-7859DF00B1D6}\TypeLib]
@="{2292E927-BD89-40DE-999A-4E72CE0EAA4F}"

[HKEY_CLASSES_ROOT\CLSID\{42CDD1BF-3FFB-4238-8AD1-7859DF00B1D6}\VersionIndependentProgID]
@="Symantec.Norton.AntiVirus.IEToolBand"


The top function is incorporated in IE, while it links to this class. Maybe you could mess around with your toolbar a bit.

/images/forums/icons/cool.gifBrady/images/forums/icons/cool.gif

<font color=green>"Work is punishment for failing to procrastinate effectively."</font color=green>