Applies Mica backdrop to Win32 application, and modern light line caption (instead of color fill).
Important: The window must use black background (even in light mode) in the affected areas, otherwise it will look ugly.
Requirements: Windows 11 22H2 and newer (or build 22543 and newer)
SetMica64.exe 1 "CLASSNAME" 23 45 67 89
1
- which backdrop to use, see belowCLASSNAME
- window class name, ask developer or use Spy++ or similar tool23
- number of pixels on the left border, that should use the backdrop45
- same, for right border67
- same, for top border89
- same, for bottom border
To get whole window to apply the backdrop, replace 23 45 67 89
with -1 -1 -1 -1
.
SetMica64.exe 4 TTOTAL_CMD 0 0 113 51
- Only works properly if you set Total Commander (11.00) into Dark mode, and set Dark mode Background color to maximum black.
- DWMSBT_AUTO - Default. Let DWM automatically decide the system-drawn backdrop for this window.
- DWMSBT_NONE - Do not draw any system backdrop.
- DWMSBT_MAINWINDOW - Draw the backdrop material effect corresponding to a long-lived window.
- DWMSBT_TRANSIENTWINDOW - Draw the backdrop material effect corresponding to a transient window.
- DWMSBT_TABBEDWINDOW - Draw the backdrop material effect corresponding to a window with a tabbed title bar.
Do whatever you want.