Vista Themes Msstyles

Posted on

Visual Styles Visual Styles Overview. In versions earlier than Windows Vista, theme files. The information that defines a visual style is stored in a.msstyles. Many popular and freely distributed theme-patching executable files can be found online. Windows Vista and Windows 7 also use.msstyles files for skinning.

This document discusses the format of Theme (.theme) files. A.theme file is a.ini text file that is divided into sections, which specify visual elements that appear on a Windows desktop. Section names are wrapped in brackets in the.ini file.

A new file format,.themepack, was introduced with Windows 7 to help users share themes. Themes can be selected in the Personalization Control Panel only in Windows 7 Home Premium or higher, or only on Windows Server 2008 R2 when the Desktop component is installed.

The following topics are discussed in this article. Creating a Theme File A.theme file enables you to change the appearance of certain desktop elements. You can create or modify a.theme file in two ways:. Modify personalization or display settings in Control Panel and save the settings as a.theme file.

See your Windows Help for instructions. Create a.theme file manually for a greater level of control over the details of your theme. To make your theme available to other users, you must supply your.theme file, as well as the background picture, screen saver, and icons files. You can do this with a. Description of a Theme File Theme files have a number of required and optional sections.

The following describe the sections of.theme files and provide examples of how to specify changes for the different elements. Theme Section.

Vista Themes Msstyles

The Theme section identifies the name of your custom theme and specifies your theme's brand logo and desktop icons. The first part of the Theme section contains the following two elements: Element Description DisplayName=name or DisplayName=@module,-stringId example: DisplayName=@themeui.dll,-2013 DisplayName is the theme name that will show up in the Personalization Control Panel.

It can be a string or a reference to a localized name. This field is optional. If it is missing, the theme filename is used as the theme name. BrandImage=path to image example: BrandImage=c: Fabrikam brand.png Windows 7 and later BrandImage specifies the path to a branded graphic file that is incorporated in the theme preview in the Personalization Control Panel. The icon graphic must be a PNG file. The graphic is scaled to 80x240 pixels, so it is recommended that you provide an image of that size. The Theme gallery respects the transparent regions of your brand icon.

This field is optional. If it is missing, no logo is displayed as the theme icon. The rest of the Theme section specifies custom icons for desktop features like Computer, My Documents, Network, and Recycle Bin.

If you do not specify custom desktop icons, the desktop displays the system default desktop icons. The following are two examples of how a.theme file sets the Computer icon.

Control Panel Desktop Wallpaper=%WinDir% web wallpaper Windows img0.jpg; The path to the wallpaper picture can point to a;.bmp,.gif,.jpg,.png, or.tif file. TileWallpaper=0; 0: The wallpaper picture should not be tiled; 1: The wallpaper picture should be tiled WallpaperStyle=2; 0: The image is centered if TileWallpaper=0 or tiled if TileWallpaper=1; 2: The image is stretched to fill the screen; 6: The image is resized to fit the screen while maintaining the aspect ratio. (Windows 7 and later); 10: The image is resized and cropped to fill the screen while maintaining the aspect ratio. (Windows 7 and later) Slideshow Section Windows 7 and later. Your theme's background can be a slide show either of images stored locally or of images served by an RSS feed. The Slideshow section of the file contains the following attributes: Attribute Description Interval=number of milliseconds Required.

Interval is a number that determines how often the background changes. It is measured in milliseconds.

Shuffle=0 or 1 Required. Shuffle identifies whether the background shuffles. 0 = Disabled 1 = Enabled RSSFeed=URL to RSS feed Required if ImagesRootPath is not specified. RSSFeed specifies an RSS feed to use as the background slide show.

Vista Themes Download

For the feed to work, you need to reference high-resolution images adhering to the 'enclosures' standard used by the. Because of this limitation,.theme files that include an RSS feed must be created manually. Item NPath=path(s) to specific image(s) For use with ImagesRootPath. Item NPath specifies paths to specific images, so that you can limit the slide show to particular images instead of all images in a folder. If no paths are specified, all images in the ImagesRootPath path are used in the slide show, including images added after creating and installing the theme.

Item NPath supports Environment Variable substitutions in the path. N is 0, 1, 2, and so on. The following examples show how a.theme file specifies the slide show to include a set of images stored locally. VisualStyles Path=%ResourceDir% Themes Aero Aero.msstyles ColorStyle=NormalColor Size=NormalSize Adding a Path element to a.msstyles file is optional.

Msstyles Windows 10

If you supply a path, you should remove the metrics and color sections from the.theme file. When these sections are removed, the colors, fonts, and sizes for a theme come from the.msstyles file and match the.msstyles author's intent. Failing to remove the metric and color sections can cause Windows or applications to have drawing problems. Windows Vista / Windows 7: When the path points to Aero.msstyles, you can specify the desired Glass Color, as shown in the following example.

Vista Themes Help

Windows 7: When the path points to Aero.msstyles, you can also specify the desired Transparency value, as shown in the following example.