Git Product home page Git Product logo

setmica's Introduction

SetMica

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)

Usage:

SetMica64.exe 1 "CLASSNAME" 23 45 67 89
  • 1 - which backdrop to use, see below
  • CLASSNAME - window class name, ask developer or use Spy++ or similar tool
  • 23 - number of pixels on the left border, that should use the backdrop
  • 45 - same, for right border
  • 67 - same, for top border
  • 89 - same, for bottom border

To get whole window to apply the backdrop, replace 23 45 67 89 with -1 -1 -1 -1.

Example to use on Total Commander:

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.

Backdrops

  1. DWMSBT_AUTO - Default. Let DWM automatically decide the system-drawn backdrop for this window.
  2. DWMSBT_NONE - Do not draw any system backdrop.
  3. DWMSBT_MAINWINDOW - Draw the backdrop material effect corresponding to a long-lived window.
  4. DWMSBT_TRANSIENTWINDOW - Draw the backdrop material effect corresponding to a transient window.
  5. DWMSBT_TABBEDWINDOW - Draw the backdrop material effect corresponding to a window with a tabbed title bar.

Documentation

License

Do whatever you want.

setmica's People

Contributors

tringi avatar

Stargazers

Whindmar Saksit avatar  avatar David Karlsson avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.