Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Change Title Bar Buttons without Changing Title Bar Size

Featured Replies

I'm trying to make my Windows 10 install look as much like Windows 7 as possible. So far I have pretty much everything (blurred taskbar, aero orb, aero glass, win7 theme atlas), but there's one thing that doesn't work right. Windows 10's title bar buttons (min,max,close) extend the full height of the title bar itself. What I want to know is if there's some program that will let me change the height of the buttons, but not the title bar as well (WindowMetrics in the registry doesn't let me do this). Instead of it looking like the first image (ignore the black bar and TeamViewer button), I'd like it to look more like the second. Any help is greatly appreciated.

 

post-407419-0-47067100-1439780164_thumb.

 

post-407419-0-17306000-1439780225_thumb.

 

This is something I found that shows what I want in Windows 10. It's an older build, but I don't see how there could be a very drastic different between such close builds.

Atlas_Win7_Rd_Corners_10041.jpg

Edited by Zacharee

Yes, making the caption buttons fit the full height of the title bar is something Microsoft pulled out of its... hat right at the end.

 

You can make caption buttons a few pixels shorter in the theme atlas, but I'm not sure there's any way to make them anything like the way they looked in Win 7 through just atlas graphics changes. 

 

It's possible Big Muscle's companion .layout file could be used to help with the task, but it's not documented yet as he hasn't released his Windows 10-compatible Aero Glass tool.

 

This is the best I've been able to get them to look with what we know today (noting that the title bar is shorter owing to changes in the [HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics] key).

 

CaptionButtonHighlights.gif

 

-Noel

Edited by NoelC

  • Author

That's disappointing. How would it be possible to make the buttons shorter without messing things up? I mostly want to just make it so the buttons don't go below the title bar by a few pixels. They get cut off in Chrome and extend slightly into other windows, such as CMD.

You can make buttons images smaller and ajust sizing margins into your visual style. This makes them "visualy" smaller (in fact they continue to adapt themself to title bar height but you don't see it). I think it's also possible with .layout for atlas, I will try it in my Windows 10 vm ;)

Edited by MTDirector

  • Author

I have no idea how to edit theme atlases. Would you be able to if I sent you the one I have?

After some testing in vm, I am able to reduce their size only with full theme and not with atlas. I can make a Windows 7 Aero visual style for 10 (or if you have an atlas you want to use, send me it and I will make a theme with it) ;)

That's disappointing. How would it be possible to make the buttons shorter without messing things up? I mostly want to just make it so the buttons don't go below the title bar by a few pixels. They get cut off in Chrome and extend slightly into other windows, such as CMD.

 

Well, it wasn't disappointing for long.  Big Muscle's latest beta release now allows caption button sizing.

 

-Noel

  • Author

The problem there is that the latest update breaks my computer. I'm currently in the middle of running chkdsk because I did something while disabling aerohost so I cold roll back to the older version. Windows Store and built-on apps no longer work. I'll try the version again after without the ModernFrame DLL, but I don't have high hopes.

  • Author

OK. I have everything fixed now, including metro apps. The newest build of Glass8 still freezes my computer though, even without ModernFrame. Any ideas?

I'm sorry to hear that happened to you.  Knock on wood I'm not seeing any problems with build 149.

 

I suggest posting your debug.log entries for range of times you tested the new build in Big Muscle's thread and reporting to him what happened so he can have the best chance of fixing it.

 

-Noel

  • Author

What's added in 149 that gives the ability to change the button size? Is it a registry key or is there a new version of the GUI?

He added an entry you can specify in the .layout file that accompanies the theme atlas file.

 

In other words, when you use a replacement theme atlas file, say xyzzy.png, you can also have a file next to it named xyzzy.png.layout in which you can specify a CaptionHeight=n entry.  You could, in the case of a 3rd party theme, extract the theme atlas png file from the STREAM resource of the .msstyles file, then add the .layout file with

 

See:  http://www.msfn.org/board/topic/173379-windows-10-development/page-56#entry1105793

 

-Noel

  • Author

Hmm. I wish I could get it. Is it possible that it breaks when the files are under C:\AeroGlass\w64 instead of just C:\AeroGlass?

  • Author

OK. Build 160 fixed everything. But does anyone have a Windows 7 theme atlas?

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.