Explorer in IE explore the Add toolbar button (1)

Source: Internet
Author: User
Explorer in IE explore the Add toolbar button
(Author: Green Apple Studio compiled February 08, 2001 13:28)
This article explains how to add a toolbar button to the user interface of Microsoft Internet Explorer. The toolbar button can run the Win32 application, run the script, or open the Explorer Bar. Note: By default, custom toolbar buttons do not appear on Internet Explorer's toolbars. These buttons will appear on the left side of the Customize Toolbar dialog box.
If you want to add a toolbar button to Internet Explorer, you should be familiar with the registry and globally unique identifiers (GUIDs).
This feature is only available in versions above Internet Explorer 5. Internet Explorer 4.0 allows you to add custom Explorer bars, but there is no way to add toolbar buttons to your browser bar.
The toolbar buttons require two sets of icons: a set of active (colored) and a set of default (grayscale) states. These icons can be saved in two. ico files or in resources (such as. dll or. exe files).
Implementation steps
When you add a toolbar button to the user interface of Internet Explorer, you must complete all the steps described in this section. If some steps are omitted, the toolbar button is not displayed.
By using the path and reference flags of the resources specified in the "path, resource_id" format, we can reference the icons and strings that are saved in the resource. For example, if you want to refer to the string resource 123 in Example.dll, you can use "Example.dll, 123".
Note: This article describes how to add a tool bar button for all users. If you want to add a toolbar button to a single user, you can replace the HKEY_LOCAL_MACHINE in the following steps with HKEY_CURRENT_USER.
1. Create a legitimate globally unique identifier (GUID). You can use Guidgen.exe (available in Microsoft Visual Studio) or Uuidgen.exe (provided in the Microsoft Platform Development Kit [Platform SDK]).
2. At the following location in the registry:
Hkey_local_machinesoftwaremicrosoftinternet explorerextensions
Create a new key for the key name with the GUID just created, and the result is similar to the following:
Hkey_local_machinesoftwaremicrosoftinternet Explorerextensions<your guid>
<your guid> The legal GUID you created in the first step.
3. Optional.
In the following location in the registry:
Hkey_local_machinesoftwaremicrosoftinternet Explorerextensions<your guid>
Creates a string value, default Visible, and the result is similar to the following:
Hkey_local_machinesoftwaremicrosoftinternet Explorerextensions<your Guid>default Visible

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.