Home windows 11’s native apps like File Explorer and different shell apps use rounded corners and Fluent Design components like Acrylic by default. Along with rounded corners, one other necessary design function of Home windows 11 is supplies like Mica which aligns the background color of apps with the desktop.
Mica is just like Acrylic, however it works in a barely completely different method. As Microsoft describes, Home windows Mica materials creates a “color hierarchy” by aligning the background with the applying, in a bid to tell apart between a number of open cases of the app like File Explorer, and so on.
Mica is actually an opaque impact that’s utilized to pick areas of apps, equivalent to home windows and title bars. It’s a elaborate translucent impact, however Mica shouldn’t be about transparency. As a substitute, samples the desktop wallpaper solely to create a translucent impact that applies to title bars or home windows.
Since Mica samples the desktop wallpaper solely as soon as and isn’t a transparency impact, it doesn’t have an effect on the efficiency of the system.
For the time being, builders can not allow this new materials of their Win32 apps. Nevertheless, that is set to alter quickly. Beginning with Home windows 11 model 22H2, builders can simply allow Mica or Acrylic within the container/window of their conventional Win32 apps i.e desktop packages.
This has been confirmed in a brand new doc printed by the corporate.
Mica lives contained in the Desktop Window Supervisor (DWM) and a brand new Home windows 11 variable referred to as “DWM_SYSTEMBACKDROP_TYPE” will permit builders to specify Mica or Acrylic materials of their desktop apps.
“Flags for specifying the system-drawn backdrop materials of a window, together with behind the non-client space,” the assist doc reads. As per Microsoft, there are 4 constants that builders can select from:
As talked about, Mica is part of the Desktop Window Supervisor (DWM), which makes it out there to a variety of apps. The truth is, there’s a third-party open-source instrument referred to as “Mica for Everybody” which makes use of DwmSetWindowAttribute and different strategies to drive allow Mica in any app.
Whereas this replace feels like a chunk of excellent information for everybody, there’s a catch. Microsoft says the brand new variable is unique to Home windows 11 22H2 (Construct 22621). In different phrases, if builders are concentrating on prior variations of the OS, they’re caught with the outdated design.