Click here to Skip to main content
15,884,099 members
Articles / Desktop Programming / ATL
Article

Explorer Skin

Rate me:
Please Sign up or sign in to vote.
4.32/5 (27 votes)
15 Mar 20031 min read 150.3K   2.5K   42   27
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


Written By
CEO Solaris Electronics LLC
United Arab Emirates United Arab Emirates
I was born in Shiraz, a very beautiful famous city in Iran. I started programming when I was 12 years old with GWBASIC. Since now, I worked with various programming languages from Basic, Foxpro, C/C++, Visual Basic, Pascal to MATLAB and now Visual C++.
I graduated from Iran University of Science & Technology in Communication Eng., and now work as a system programmer for a telecommunication industry.
I wrote several programs and drivers for Synthesizers, Power Amplifiers, GPIB, GPS devices, Radio cards, Data Acquisition cards and so many related devices.
I'm author of several books like Learning C (primary and advanced), Learning Visual Basic, API application for VB, Teach Yourself Object Oriented Programming (OOP) and etc.
I'm winner of January, May, August 2003 and April 2005 best article of month competition, my articles are:


You can see list of my articles, by clicking here


Comments and Discussions

 
GeneralRe: About sclae problem Pin
Abbas_Riazi12-Apr-03 5:12
professionalAbbas_Riazi12-Apr-03 5:12 
GeneralRe: About scale problem Pin
Anonymous9-Mar-04 5:32
Anonymous9-Mar-04 5:32 
Generalreturn to te default skin Pin
AOUA9-Apr-03 8:06
AOUA9-Apr-03 8:06 
GeneralRe: return to te default skin Pin
Abbas_Riazi9-Apr-03 9:06
professionalAbbas_Riazi9-Apr-03 9:06 
QuestionArticle? Pin
Metaphor16-Mar-03 7:29
Metaphor16-Mar-03 7:29 
AnswerRe: Article? Pin
Abbas_Riazi16-Mar-03 7:42
professionalAbbas_Riazi16-Mar-03 7:42 
AnswerRe: Article? Pin
Renjith Ramachandran18-Mar-03 7:24
Renjith Ramachandran18-Mar-03 7:24 
GeneralRe: Article? Pin
Abbas_Riazi18-Mar-03 17:49
professionalAbbas_Riazi18-Mar-03 17:49 
First, Run install.bat (if you download IESkin_demo.zip), then right click on your skin (a bitmapped file, I attached 2 skin in IESkin_src.zip, directory of bitmap) and click on "Select Skin".
When recieve prompts, open new explorer to see what happened.
A. Riazi

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.