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

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

Microsoft Community Contributor Award Recipient

Win 7 Pro x64 / Win 8.1 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

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

Microsoft Community Contributor Award Recipient

Win 7 Pro x64 / Win 8.1 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.
How do I change dialog backgrounds?-win7-style-builder.pngName:  Color.png
Views: 8
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

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

Microsoft Community Contributor Award Recipient

Win 7 Pro x64 / Win 8.1 Pro
 
 

That location I give you works for me look at screenshots for notepad.
How do I change dialog backgrounds?-win7-style-builder-cwindowsresourcesthemes11.msstyles.pngName:  Notepad.png
Views: 10
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.
How do I change dialog backgrounds?-1.pngHow do I change dialog backgrounds?-2.png

Jerry


My System SpecsSystem Spec
21 Aug 2012   #7

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

Microsoft Community Contributor Award Recipient

Win 7 Pro x64 / Win 8.1 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

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

Microsoft Community Contributor Award Recipient

Win 7 Pro x64 / Win 8.1 Pro
 
 

Got it
Fonts, Colors & System Metrics > Fonts & System Metrics
Red- Menu:Color
Yellow- Window:Color
Name:  d.JPG
Views: 326
Size:  7.6 KB
How do I change dialog backgrounds?-wsb.jpg

Jerry


My System SpecsSystem Spec
Reply

 How do I change dialog backgrounds?




Thread Tools




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 05:17 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33