Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: ShellStyle.dll Hacking to change Dialog Boxes' Background Color

28 Mar 2013   #1

Windows 7 Ultimate x64
ShellStyle.dll Hacking to change Dialog Boxes' Background Color


Sometime ago I asked here if anybody who knew how to change the background color on standard dialog boxes.

How do I change dialog backgrounds?

User bongo found out that dialog boxes use the "Menu" background color resource, which is very silly because menu colors won't always coincide with buttonface. Here's the result of changing Menu:Color and Window:Color on Windows 7:

Red- Menu:Color
Yellow- Window:Color

My question is this, through shellstyle.dll hacking, is there anyway to change the color used by these boxes?

My System SpecsSystem Spec
01 Apr 2013   #2

Windows 7 Ultimate x64

Maybe shellstyle wouldn't be the way since the dialogs are still affected by the problem in Windows Classic theme. Perhaps user32.dll since it provides the method for MessageBox?
My System SpecsSystem Spec

 ShellStyle.dll Hacking to change Dialog Boxes' Background Color

Thread Tools

Similar help and support threads
Thread Forum
all i want is to change explorer's background color
open any folder, and you see three panels. one on the left for changing the directory. one on the bottom for details. one main window with all the files i just want to change the default colors of these panels and the text without disabling aero. i was able to do this very easily in windows xp ...
Themes and Styles
How to change color of window background?
My eyes are tired of staring at bright and shining fields of white windows all day. I really want to change the color to black or gray. (For example, My Computer, Start Menu, File Explorer, etc are all in white background color) Is there any way to change this? I've been digging the...
How to change Explorer Background color?
I need help, i have downloaded a theme and the ONLY thing i want to change is the white background.. can anyone give/make a quick tutorial on how to change the background color of explorer?? :(
Color dialog prevents third digit in RGB text boxes ?
Hello, Running windows 7 Pro 64bit. GUI - classic theme, 108 dpi. I was allways using some solid custom color for my background. So I tried to select it using Personalize.... custom color dialog. It's standard color dialog present on all windows versions. One of the ways to enter exact color...
General Discussion
Help change background color
I've attached a image. Where or how can I change the background color (or gradient preferably) of the stuff pointed to by the 3 red arrows? Thanks for any help.

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 15:32.
Twitter Facebook Google+