Windows XP 主題系統由 .theme 文字設定檔 與 .msstyles 視覺樣式檔 組成。理解其結構,即可自由客製化、修復、製作專屬主題。
[.theme][.theme] My Computer=%WinDir%\explorer.exe,0 My Documents=%SystemRoot%\system32\mydocs.dll,0 Network Neighborhood=%SystemRoot%\system32\shell32.dll,17 Recycle Bin=%SystemRoot%\system32\shell32.dll,31 Recycle Bin Full=%SystemRoot%\system32\shell32.dll,32
explorer.exe,0[Control Panel\Colors][Control Panel\Cursors]Arrow(箭頭)、Wait(等待)、AppStarting...等.cur 或 .ani 檔[Control Panel\Desktop]Wallpaper:桌布路徑(Luna 為 %WinDir%\web\wallpaper\Bliss.bmp,即經典「菜地藍天」)TileWallpaper/WallpaperStyle:平鋪/置中/拉伸模式ScreenSaveActive:是否啟用螢幕保護 (0/1)[boot] 區 SCRNSAVE.EXE 指定螢保檔案[VisualStyles] 最關鍵[VisualStyles] Path=%WinDir%\Resources\Themes\Luna\Luna.msstyles
%WinDir%\Resources\Themes\ 的子資料夾中Luna.msstyles → Luna\ 資料夾)主題資料夾下常含 Shell\ 子資料夾,對應多組色彩方案:
Shell\Homestead\shellstyle.dll → 橄欖綠方案Shell\NormalColor\shellstyle.dll → 預設藍色方案Shell\Metallic\shellstyle.dll → 銀色方案shellstyle.dll 定義資源管理員左側「公用工作區」樣式:位圖、字體、顏色、音樂資料夾背景音符等。非必要元件,刪除只會回復系統預設樣式。
Luna.msstyles、shellstyle.dll,失敗可還原掌握結構,你就是自己桌面的設計師。下一步:學習 StyleBuilder 製作專屬 .msstyles!