ramensoftware / windhawk-mods

The official collection of Windhawk mods
286 stars 53 forks source link

Mod Request: Restore Mica #341

Open Reabstraction opened 1 year ago

Reabstraction commented 1 year ago

On Windows 11, the file explorer does not display Mica in the window contents Like this As you can see, due to my visual theme, the background is black and broken

I'd request a mod that allows DWM to extend into the frame contents, and applies Mica

m417z commented 12 months ago

Sounds like something that, if easy to do, @ahmed605 would know.

ahmed605 commented 12 months ago

I think it should be possible by using a combination of DwmSetWindowAttribute and DwmExtendFrameIntoClientArea, I will see if I can implement this into a mod.

Should be possible to achieve this on Win10's explorer through 10Mica with some extra steps too.

Reabstraction commented 11 months ago

I'd assume you'd need to hijack rendering procedures since the Mica sorta kinda works with MicaForEveryone, but breaks when the window is moved

Something is preventing Mica from applying to the Win32 part of the window

clover-yan commented 11 months ago

I'd like to refer https://github.com/MicaForEveryone/ExplorerFrame.

It works by hooking into Explorer and detouring Windows' DwmExtendFrameIntoClientArea with a custom implementation that ignores calls from File Explorer.