BrainDump
  Home arrow BrainDump arrow Page 3 - Replacing the Windows XP Start Button Back...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Dedicated Servers 
Moblin 
JMSL Numerical Library 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
BRAINDUMP

Replacing the Windows XP Start Button Background
By: Nilpo/Developer Shed Staff Writer
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 7
    2007-04-11

    Table of Contents:
  • Replacing the Windows XP Start Button Background
  • Locating the start button background.
  • Preparing the new graphic.
  • Preparing your system.
  • Patching Uxtheme.dll
  • Replacing the graphic.

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Replacing the Windows XP Start Button Background - Preparing the new graphic.


    (Page 3 of 6 )

    As always, you can create a brand new graphic if you like, but it’s much easier to edit this one.  It’s a 99x99 standard Windows bitmap.  Ignore the pink color you see, we’ll get into that in just a moment.

    Now fire up your favorite graphic editing program.  If you’re following along with me, I’ll be using Photoshop CS but you can use any editor that you like.

    Let’s take a closer look at this graphic.  You’ll notice that there are actually three graphics in one.  That’s because this is a tri-state button, meaning that a single graphic is used to display all three button states as follows.

    From top to bottom you see the Normal state, Hover (moused over) state, and Active (clicked) state.  You’ll notice that the default configuration uses a lighter color for the hover state and a darker color for the active state.  This is the typical style of all Windows buttons.

    You’ll also notice that the buttons use shadow effects to produce a 3D shape.  This is very hard to replicate in a fashion that matches the rest of the task bar so it’s best not to change it if possible.  That’s why I’ll be using a slightly different method to edit my graphic.

    In Photoshop, choose Image > Adjustments > Hue/Saturation… or simply press Ctrl + U.  Now adjust the sliders until you get the color that you like.  By adjusting the Hue/Saturation level instead of re-coloring the image ourselves, we are able to colorize the image without losing the shadow look.

    To get the grayish look that I’m using, set your Hue to -45, Saturation to -96, and Lightness to +16.  Click Ok.  Now we need to add our transparency.

     

    This is a standard Windows bitmap so it uses the color Magenta (255,0,255) to define transparency.  Select that color and then select the pencil tool.  Along the right side of the image, fill in all of the extra pixels so that your start button has a nice curve again.  You may need to zoom in to around 500% in order to see individual pixels.

    Once you’ve added your transparency, save the new bitmap as custom_startbutton.bmp using the default settings.

    More BrainDump Articles
    More By Nilpo/Developer Shed Staff Writer


       · In the final installment of this series I show you how to change the Start button's...
       · I installed XP SP3 and it replaces Uxtheme.dll; the multipatcher gives a message it...
       · You'll have to repatch uxtheme.dll after installing SP3. Here's the info you...
     

    BRAINDUMP ARTICLES

    - XAML Brushes and Silverlight
    - Silverlight and XAML Basics
    - Immortal XP
    - XAML Basics
    - Microsoft Surface
    - Making Your First Active X Control in Visual...
    - Codes and Packages in Microsoft Project 2007
    - Windows 7: Rumors and Demos
    - XP SP3 Why Me?
    - Breaking Up Your Work in Microsoft Project
    - Breaking Work into Task-Sized Chunks
    - Putting Microsoft`s Worldwide Telescope Unde...
    - Handling Multiple Contracts with Indigo
    - Cleaning Out Your Data in XP
    - Multiple Service Contracts and Indigo





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway