How to enable the accent border instead of the title bar when enabling mica effect?
XiaoYouChR
0
信誉分
I have enabled the "Display accent color on the title bar and window borders" option in Windows settings.
I applied the Mica effect to my Python program using the Win32API. The window display effect, the window Style viewed with Spy++, and the code are as follows:
However, I would like to emphasize that the accent color should be displayed on the window border, not the window title bar, as shown in applications like the Microsoft Store, Windows Settings, and Outlook (new).
How should I modify my code?
登录以回答