Krypton-Suite / Standard-Toolkit

An update to Component factory's krypton toolkit to support .NET Framework 4.6.2 - 4.8.1 to .NET 6 - 8
BSD 3-Clause "New" or "Revised" License
376 stars 56 forks source link

[Feature Request]: Have a designer option (and implement) "Acrylic In Title Bar And Form Borders" #1273

Open Smurf-IV opened 6 months ago

Smurf-IV commented 6 months ago

Leading on from discussion in #1269 https://learn.microsoft.com/en-us/windows/apps/design/style/acrylic#extend-acrylic-into-the-title-bar

Needs to have

Note: Use SetWindowCompositionAttribute to simulate AcrylicBrush from UWP. Hint: Might have to have a look at how the shadowing does "it's thing" to make it compatible everywhere !

Wagnerp commented 6 months ago

This could lead into creating the modern implementation of ribbons, tool/status/menu bars etc

image

image

Smurf-IV commented 6 months ago

@Smurf-IV Does that work?

Your images still show as solid.

The steps do work, as that is how I did the "Settings" image in https://github.com/Krypton-Suite/Standard-Toolkit/issues/1269

Wagnerp commented 6 months ago

Very difficult to capture

image

Wagnerp commented 6 months ago

Used a solid colour (red) as my desktop background

image

Smurf-IV commented 6 months ago

Oh, That's barely visible (I'm partially colour blind !) What does it look like when you change windows to be a lighter theme ?

Wagnerp commented 6 months ago

With white as the background

image

Wagnerp commented 6 months ago

Worse!

image

Wagnerp commented 6 months ago

Oh, That's barely visible (I'm partially colour blind !) What does it look like when you change windows to be a lighter theme ?

@Smurf-IV No problem, are you able to boot up a Win 11 VM if I gave you an ISO image of Office 2021?

Smurf-IV commented 6 months ago

Are you able to boot up a Win 11 VM if I gave you an ISO image of Office 2021?

Wagnerp commented 6 months ago

I have Office 2k21 - never installed it tho !

Might be worth installing it onto the Win 11 VM to see the 'Mica' effect. Not sure what it looks like on Win 10 though...

Smurf-IV commented 6 months ago

Snip'n'Sketch in Win 10: Win10Blend

But the Win 11 version does not do it !! (Might be a VM thing !)

Wagnerp commented 6 months ago

Is Snip'n'Sketch a standalone app, if so what happens if you copy it over into Win 11?

Smurf-IV commented 6 months ago

It's a windows app, In Win 11 "they" reverted to calling it "Snipping tool" image

Smurf-IV commented 6 months ago

Oh my.. Win 11 Acrylic hardly seems to be worth the trouble. It's so "Weak"

image

Wagnerp commented 5 months ago

@Smurf-IV Might be a start?

https://stackoverflow.com/questions/56481230/how-to-create-windows-10-acrylic-transparency-effect-in-winform-c-sharp

https://github.com/riverar/sample-win10-aeroglass

https://github.com/colhountech/AcrylicUI

Wagnerp commented 3 months ago

@Smurf-IV Have a look at https://github.com/colhountech/AcrylicUI. I wonder if it could be modified to use Krypton?

image