Search found 1 match

by DelphiErik
Mon Sep 25, 2023 12:22 pm
Forum: Classic - General Support
Topic: Dark Title Bar
Replies: 5
Views: 10109

Re: Dark Title Bar

Creating a dark title bar for win32 applications like XnView in Windows 10/11 during dark theme is quit simple to do (dark when the window is not active). Just use the function DwmSetWindowAttribute. In Delphi/Lazarus/Pascal it is like:


DWMWA_USE_IMMERSIVE_DARK_MODE_BEFORE_20H1 = 19;
DWMWA_USE ...