增加标题栏按钮:
1.创建GUID,用GUDI工具创建.
2.增加一个键值,键名为刚创建好的GUID
HKEY_LOCAL_MACHINE/Software/Microsoft/Internet Explorer/Extensions/{GUID}
3.增加图标,名称
ButtonText - 按钮名称
HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Extensions\{GUID}\ButtonText
HotIcon - 按钮ICON
HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Extensions\{GUID}\HotIcon
Icon - 按钮ICON
HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Extensions\{GUID}\Icon
4.选项.
Default Visible - 显示按钮"Yes" 不显示按钮"No"
HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Extensions\{GUID}\Default Visible
5.语言选项:
HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Extensions\{GUID}\Lang####
下面为一例子:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Extensions\{FB5F1910-F110-11d2-BB9E-00C06F795283}]
"ButtonText"="Mytest"
"HotIcon"="C:\\Program Files\\myicon\\icon\\myicon.ico" // 图标
"Icon"="C:\\Program Files\\myicon\\icon\\myicon.ico"
"Default Visible"="Yes" // 显示
"CLSID"="{1FBA04EE-3024-11d2-8F1F-0000F87ABD16}" //设置CLSID_Shell_ToolbarExtExec 类型
"ClsidExtension"="{4248FE82-7FCB-46AC-B270-339F08212110}" // 调用COM的GUID