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: How do I change dialog backgrounds?

21 Aug 2012   #1
aaron1a12

Windows 7 Ultimate x64
 
 
How do I change dialog backgrounds?

Hi, does anybody know how to change the background color of standard alert boxes? I'm using a heavily customized version Satukoro's Luna port to Windows 7 and I get completely white backgrounds on most typical dialogs. The most I know about it is that it uses the "window" system color. Since Vista, dialog boxes have been split now with a white background for the text and grey for the buttons. I get everything white now, but I would like to use the standard buttonface color as in Windows XP.



Is there some sort of UIFILE I can edit in Resource Hacker? Or can this be easily done in Windows 7 Style Builder?


My System SpecsSystem Spec
.
21 Aug 2012   #2
Bongo

Microsoft Community Contributor Award Recipient

Win 7 Pro x64 / Win 10 Pro
 
 

Welcome to the Seven Forums

Are you talking about the background color or the button text color you've got me confused?

Is that your dialog box in the screenshot? If not post a screenshot of your dialog box if possible use arrows to point to the problem.

Jerry
My System SpecsSystem Spec
21 Aug 2012   #3
aaron1a12

Windows 7 Ultimate x64
 
 

Thanks, nice place you got here.

I was talking about the background color of the window. The first dialog in the screenshot on the left is how my dialog boxes are, the second picture on the right is how I would like them to be. Sorry if I was confusing.

I am trying to make my Windows 7 PC as similar to Windows XP as possible (for nostalgic purposes.) So far, this is how my desktop looks.

My System SpecsSystem Spec
.

21 Aug 2012   #4
Bongo

Microsoft Community Contributor Award Recipient

Win 7 Pro x64 / Win 10 Pro
 
 

OK I understand what you're talking about now there is a slight change in the RGB's of that background.

If you have Windows Style Builder you can change that background color at Explorer & Shell > Shell > TaskDialog > PrimaryPanel > FILLCOLOR:COLOR click on the color and a color dialog box will open.
-win7-style-builder.pngName:  Color.png
Views: 13
Size:  17.6 KB

Windows Style Builder is the only way I know how to change that color.

Jerry


My System SpecsSystem Spec
21 Aug 2012   #5
aaron1a12

Windows 7 Ultimate x64
 
 

Thanks, but that seems to only change the dialogs in Explorer. Notepad's Save Changes? dialog is still white, as well as other dialogs.

Run now looks hideous...

My System SpecsSystem Spec
21 Aug 2012   #6
Bongo

Microsoft Community Contributor Award Recipient

Win 7 Pro x64 / Win 10 Pro
 
 

That location I give you works for me look at screenshots for notepad.
-win7-style-builder-cwindowsresourcesthemes11.msstyles.pngName:  Notepad.png
Views: 15
Size:  22.9 KB


For the Run dialog box you need to add Fill Color Property at Explorer & Shell > Shell > TaskDialog > ContentPane
The easiest way to do that would be to go to Explorer & Shell > Shell > TaskDialog > PrimaryPanel 1st click on the fill color then click on the copy button then go to Explorer & Shell > Shell > TaskDialog > ContentPane and click on the paste button, now you will have the fill color property there look at the screenshots below.
-1.png-2.png

Jerry


My System SpecsSystem Spec
21 Aug 2012   #7
aaron1a12

Windows 7 Ultimate x64
 
 

D'oh! My fault. I forgot I had replaced my notepad with the original XP notepad!

Nevertheless, the standard alert box is still white. Like the alert boxes in internet explorer:



But it changes when I change the "window" color on the desktop; Personalize > Window Color

It must be a UIFILE in whatever DLL dialog templates are defined, shell32.dll? user32.dll?
My System SpecsSystem Spec
22 Aug 2012   #8
Bongo

Microsoft Community Contributor Award Recipient

Win 7 Pro x64 / Win 10 Pro
 
 

I'm sorry I would not know which .dll that is in. How do you get that alert window and I will try to reproduce it and see if I can't figure it out.
Jerry
My System SpecsSystem Spec
22 Aug 2012   #9
aaron1a12

Windows 7 Ultimate x64
 
 

Well, you can simply open notepad and enter the following HTML code:
HTML Code:
<html>
<head>
<title>Alert Box</title>
</head>
<body onload="alert('Hello World!');">
<p>Hit Refresh to see the dialog box again.</p>
</body>
</html>
Then save it as "test.html" on your desktop and open it in Internet Explorer. You should see the standard dialog box.
My System SpecsSystem Spec
22 Aug 2012   #10
Bongo

Microsoft Community Contributor Award Recipient

Win 7 Pro x64 / Win 10 Pro
 
 

Got it
Fonts, Colors & System Metrics > Fonts & System Metrics
Red- Menu:Color
Yellow- Window:Color
Name:  d.JPG
Views: 337
Size:  7.6 KB
-wsb.jpg

Jerry


My System SpecsSystem Spec
Reply

 How do I change dialog backgrounds?




Thread Tools




Similar help and support threads
Thread Forum
Custom login backgrounds that change over intervals.
Alright, firstly, I know about the built in login screen customization meant for OEM usage, where you just enable a registry setting, and then put your custom background into the certain folder. That is great, except that for some ridiculous reason it has a 256kb filesize limit. Then I learned...
Customization
How to change file dialog box size?
How can I change the size of the ridiculously small file requester windows? There was some app on XP which hacked some system files, but I don't feel comfortable with some legacy app messing around in the guts of win7.
Customization
How can I change backgrounds in the logon screen across 2 desktops?
i have tweakslogon and that changes my background on my main display. i recently got a 2nd display and when i lock my pc, my 2nd display is black. is there a way i can add a background there or what? thank you.
Customization
Change icons in save as dialog
Hey guys, i couldn't find anything remotely close to what i was after, but is there a way to change the icons for Library's and Desktop options in the Open/Save/Save As dialog boxes?? And to get rid of the Recent items as well? Picture enclosed, explains what i mean. EDIT: I was thinking...
Customization
Change desktop backgrounds automatically based on time and weather?
I want it to integrate with the default weather desktop gadget so that the current weather and/or time is reflected in my desktop. If possible I would like it to have a GUI so you can easily change what backgrounds/themes associate with each feature. I wouldn't mind doing the coding on this...
Customization
Change All programs and Control Panel backgrounds?
What file has the background of All Programs and Control Panel off the startmenu? John
Customization


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 00:08.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App