Share this Page URL

Chapter 8. Creating Windows XP Skins wit... > What StyleBuilder Can and Cannot Do ... - Pg. 152

Creating Windows XP Skins with TGTSoft StyleBuilder Tip 152 You can change the size of any of the StyleBuilder panes by dragging the border of that pane. The size of the panes and the amount of information shown in a pane depend on your screen resolution. If you are using the 800 ¥ 600 resolution, you might have to expand a particular pane to see all the options. Using the different panes to drill down to a particular interface element and its properties provides you with complete control over the visual attributes of that element. Before working through the process of building a visual style, let's pause for a moment and discuss what StyleBuilder is designed to do in terms of skinning the Windows interface. What StyleBuilder Can and Cannot Do for You As I mentioned at the beginning of this chapter, StyleBuilder is used to create visual styles. This means you can manipulate the color scheme and each individual bitmap that makes up a particular graphical element of the interface. StyleBuilder can't build background or icon files which, as you already know, can be built using drawing software or other image software. These interface elements are not restricted by Windows XP (meaning you can change them at will) as the visual style is. Remember that Windows XP's skinning engine, uxtheme.dll, is designed to allow only Microsoft digitally signed visual styles (such as Luna) to be applied to the interface. StyleBuilder builds files with the extension .sb (for Style- Builder), which can then be compiled as .msstyles files, which are in the same file format as Luna. By default, StyleBuilder loads the attributes of the Luna visual style as your starting point when you choose to create a new visual style. You then modify the Luna elements (the bitmaps and colors) to create your own visual style.