Skip to main content

How to customize Windows messages, tool tips and dialog boxes

Windows provides some very helpful tips and messages through tool tips (the messages that pop up when you hover the mouse pointer over an icon) and dialog boxes. Do you wish to replace those messages with your own peppy comments? That is what I'm going to show you today.

Most of the Windows messages and dialog boxes that you see can be found inside two executable files - the explorer.exe and shell32.dll. By tweaking these files we can control how Windows looks and what messages it display. For this, we will use a tool called Resource Hacker. Resource Hacker is an extremely useful piece of software that can view, modify, rename, add, delete and extract resources in any executable files.

At first, make a copy of explorer.exe from C:\Windows folder. We will make modification to this copied file and when it is done replace the original file with our customized one.

Open this file in Resource Hacker. On the left hand panel you will find a tree structure with a folder icon named String Table. Expand String Table by clicking on the (+) sign. Expand the sub-folder named 19 and click on 1033. On the right hand panel you can see the following message:

STRINGTABLE
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
300, "Opens the My Documents folder, where you can store letters, reports, notes, and other kinds of documents."
301, "Displays recently opened documents and folders."
302, "Opens the My Music folder, where you can store music and other audio files."
303, "Opens the My Pictures folder, where you can store digital photos, images, and graphics files."
}


resource hacker screenshot


You can immediately recognize what those messages refer to. String no 300 is the tool tip that pops up when you hover the mouse cursor over the My Documents folder. String 301 is for the Recent Documents folder. You can figure out the rest yourself. Change the string to anything you like and then click Compile Script.

Each of the folders under String Table contains such strings that you can modify at will. Just make sure you don't mess up those messages so that later you know what each one of them actually means. Here are some places where you can find some common tool tips.

37>1033>578 - this string is displayed in the start menu button (Luna theme)
38>1033>595 - this string is displayed in the start menu button (Windows Classic Theme)
51>1033 - start button tool tip
438>1033 - tool tips for Search, Help, Internet Explorer and Outlook Express
439>1033 - Help, Search, Run, Turnoff computer and Logoff tool tips of the start menu
440>1033 - Internet Explorer and Outlook Express tool tip

To change the messages shown in the dialog boxes we will have to edit shell32.dll. Make a copy of C:\Windows\System32\shell32.dll just like we did previously before you start modifying. Take your time and explore the various folders under the String Table. You will find lots of strings to edit. Don't forget to compile after you have finished.

Actually, there is a lot more you can do than edit the strings. The folder Bitmap contains various images that are displayed in Explorer and dialog boxes. The folder Icons contain all the icons used by Windows. You can change them as well.

The second step of this process is to replace the original files with the modified ones.

1. First move the new files to a handy location. Let us move them to the root of the C drive.
2. Put the Windows XP installation disk on the CD drive and restart the computer.
3. After the computer boots and prepares itself for installation you will be asked whether you want to go to the Recovery Console. Press R to enter the Recovery Console.
4. Select the Windows installation by pressing the appropriate number key (this is usually 1 unless you have more than one Windows installation). Type the administrator password, if any.
5. Now type the following commands:

rename   c:\windows\explorer.exe   explorer.bak
copy   c:\explorer.exe   c:\windows\explorer.exe
rename   c:\Windows\System32\shell32.dll    shell32.bak
copy   c:\shell32.dll   c:\Windows\System32\shell32.dll

The commands are self explanatory. Type Exit to restart the computer.
Do not delete the backup files (explorer.bak and shel32.bak) if you wish to revert back to the original condition of Windows. Happy tweaking.

Comments

  1. Is it possible to show a bitmap within the context of the tooltip?

    per your example:

    STRINGTABLE
    LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
    {
    300, "IMG:Opendialogue.bmp"
    }

    I realize the sytax I've employed in incorrect but Im more interested in whether an image can be displayed within the tooltip window?

    thank you
    Jon

    ReplyDelete
  2. @Jon: I'm afraid it's not possible. The tooltip is not programmed to display images so there is no direct way of doing it. If there is any way then it would involve a lot more tweaking and changing the behaviour of the tooltip, which is I'm not aware of.

    ReplyDelete
  3. IS there any way to add Rename button in the "Confirm file replace" dialog?
    Mario

    ReplyDelete
  4. @Mario: No, the Rename option is not there in Confirm file replace dialog box, and I'm not sure if there is any way to add it.

    ReplyDelete
  5. How can i put a tip for each project folder in a new folder structure we are employing so that for each folder there is a description of what would go into those folders as you hover over folder icon?
    -Walter

    ReplyDelete
  6. How do I change the typeface in the stringtable? John

    ReplyDelete
  7. Typeface can be changed from the desktop properties.
    Right-click on the desktop, select Properties.
    Go to Appearance>Advanced

    ReplyDelete

Post a Comment

Popular posts from this blog

How to Record CPU and Memory Usage Over Time in Windows?

Whenever the computer is lagging or some application is taking too long to respond, we usually fire up task manager and look under the Performance tab or under Processes to check on processor utilization or the amount of free memory available. The task manager is ideal for real-time analysis of CPU and memory utilization. It even displays a short history of CPU utilization in the form of a graph. You get a small time-window, about 30 seconds or so, depending on how large the viewing area is.

How to Schedule Changes to Your Facebook Page Cover Photo

Facebook’s current layout, the so called Timeline, features a prominent, large cover photo that some people are using in a lot of different creative ways. Timeline is also available for Facebook Pages that people can use to promote their website or business or event. Although you can change the cover photo as often as you like, it’s meant to be static – something which you design and leave it for at least a few weeks or months like a redesigned website. However, there are times when you may want to change the cover photo frequently and periodically to match event dates or some special promotion that you are running or plan to run. So, here is how you can do that.

Diagram 101: Different Types of Diagrams and When To Use Them

Diagrams are a great way to visualize information and convey meaning. The problem is that there’s too many different types of diagrams, so it can be hard to know which ones you should use in any given situation. To help you out, we’ve created this diagram that lays out the 7 most common types of diagrams and when they’re best used: