DWMBlurGlass icon indicating copy to clipboard operation
DWMBlurGlass copied to clipboard

Windows Vista/7 window gradients

Open TorutheRedFox opened this issue 1 year ago • 7 comments

Windows Vista and 7 aero themes have dynamically applied gradients in the corners of the entire ncarea and a reflection on unextended window borders

Windows 8 and up no longer apply these effects. It'd be great to have them be dynamic again just like the parallax reflection to allow for greater theming flexibility

TorutheRedFox avatar Feb 14 '24 00:02 TorutheRedFox

oh and an option to pull all those effects from msstyles classes would be great too

TorutheRedFox avatar Feb 14 '24 11:02 TorutheRedFox

the classes seem to be DWMWindow::FRAMELEFT_EFFECT for the corner gradients (I assume vista had FRAMERIGHT_EFFECT judging by its atlas but they removed it since it was just a mirrored version of FRAMELEFT_EFFECT) and DWMWindow::SIDEHIGHLIGHT, with it stretching across the full width of the window underneath and nearly full height (from the very bottom to just under the titlebar) as long as the window doesn't have extended frames i think?

TorutheRedFox avatar Feb 15 '24 14:02 TorutheRedFox

oh and an option to pull all those effects from msstyles classes would be great too

I found a Winaero article that talks about the msstyles colours https://winaero.com/get-colored-title-bars-in-windows-10/

I was going to open a new discussion for it, suggesting that the colours can be pulled from msstyles this way (and hence, in my understanding of that article, follow the accent colour), but since this issue was already open, figured I would comment it here.

Asad-13 avatar Feb 15 '24 19:02 Asad-13

oh and an option to pull all those effects from msstyles classes would be great too

I found a Winaero article that talks about the msstyles colours https://winaero.com/get-colored-title-bars-in-windows-10/

I was going to open a new discussion for it, suggesting that the colours can be pulled from msstyles this way (and hence, in my understanding of that article, follow the accent colour), but since this issue was already open, figured I would comment it here.

those colors are actually the custom color pulled from a registry key and set in the personalize UI when Aero is used in Vista and 7, and the accent color in settings on 8 and later, and isn't what this issue is about

TorutheRedFox avatar Feb 15 '24 20:02 TorutheRedFox

Bump

AllieTheFox avatar Feb 16 '24 16:02 AllieTheFox

the classes seem to be DWMWindow::FRAMELEFT_EFFECT for the corner gradients (I assume vista had FRAMERIGHT_EFFECT judging by its atlas but they removed it since it was just a mirrored version of FRAMELEFT_EFFECT) and DWMWindow::SIDEHIGHLIGHT, with it stretching across the full width of the window underneath and nearly full height (from the very bottom to just under the titlebar) as long as the window doesn't have extended frames i think?

FYI, the string ID is just a mapping by msstyleEditor; the real numerical part IDs are 34 for FRAMELEFT_EFFECT and 43 for SIDEHIGHLIGHT.

aubymori avatar Feb 17 '24 02:02 aubymori

ah

TorutheRedFox avatar Feb 17 '24 16:02 TorutheRedFox