Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Explorer Skin

0.00/5 (No votes)
15 Mar 2003 1  
A Shell Extension Context Menu to Change Skin of Windows Explorer

Shell extension menu for skinning IE

Introduction

May be you wonder how some sites like Hotbar, can change your IE rebar! In this article, I show you how you can change your IE rebar by yourself. For this reason I create a shell extension context menu that will apear if you right click on a bitmapped file (*.bmp).
Above Figure shows this context menu.

Hacking Registry

As you know, Windows Explorer (and IE) are very customizable applications. This means that you can change behavior and the overall face of them very easily. But from where does IE know when and how to change itself?

Answer: Registry.

Windows Explorer saves any GUI related information and data in the registry. For changing IE skin, it's sufficent to change value of BackBitmap, to path of desired bitmap in the following registry path:

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar

As you see, this registry path points to Toolbar of Internet Explorer. Figures 2 and 3 show effect of this utility.

Before (Fig 2) :

Before

After (Fig 3) :

After

Installing/Uninstalling

It's very easy to Install/Uninstall this shell extension. For installing it, run Install.bat, this batch file copies IESkin.dll to System32 directory of Windows and then registers it automatically. For uninstalling IESkin, run Uninstall.bat, this batch file unregisters IESkin.dll and delete it from system32 directory of Windows.

Credits

I should thank Michael Dunn for his article "The Complete Idiot's Guide to Writing Shell Extension - Part I". Enjoy!

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here