Friday, June 5, 2026 Sign InRegister FREE My Account Help
FDN Portal
FDN » Windows XP » XP Visual Styles and Themes

XP Visual Styles and Themes

XP Visual Styles and Themes

Windows XP introduced "visual styles" — a theming engine that replaces the classic Win32 flat controls with styled, colorful versions.

Built-in Themes

ThemeColor SchemeDescription
Luna (Default)BlueVibrant blue taskbar, green Start button, rounded controls
LunaOlive GreenEarth-toned variant with green/olive accents
LunaSilverNeutral gray/silver variant
Windows ClassicVariousTraditional Win2K/NT appearance, flat controls

Changing the Theme

  1. Right-click the desktop → PropertiesThemes tab.
  2. Select a theme from the dropdown (Windows XP, Windows Classic, etc.).
  3. For color scheme changes within Luna: go to the Appearance tab and select from the "Color scheme" dropdown.

Visual Styles for Developers

For your applications to use the XP visual style, you must include a manifest file or call InitCommonControlsEx:

<!-- app.exe.manifest -->
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
  <dependency>
    <dependentAssembly>
      <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls"
        version="6.0.0.0" processorArchitecture="X86"
        publicKeyToken="6595b64144ccf1df" language="*" />
    </dependentAssembly>
  </dependency>
</assembly>

In VB6 Applications

VB6 applications can use XP visual styles by adding a manifest file:

  1. Create a file named MyApp.exe.manifest with the XML above.
  2. Place it in the same directory as the compiled .exe.
  3. On launch, Windows detects the manifest and applies the Luna visual style to all common controls.

Third-Party Themes

Third-party tools like StyleXP and WindowBlinds can apply custom visual styles beyond the built-in Luna options. Note that unsigned theme files require patching uxtheme.dll to bypass Microsoft's theme signature verification.

Next » Windows XP Networking Guide
More in Windows XP
« Back to Windows XP « Back to FDN
FlameNet Weekly: the best of the forum, freshest listings, top Q&A — delivered every Sunday.
13 members · 0 new today · 0 online now · 767 posts in last 24h