Wiki copymirror

This is a mirror of the wiki at pascal.chat. Editing, history and sign-in are there.

Win32TitleStyler

About

This is unit, it gives the procedure to make the form's title - dark, using Win32 API. It works on Windows 10 and 11+ (it doesn't do anything on older Windows, and it doesn't work on some older builds of Windows 10).

Download link on GitHub

Screenshot of CudaText with applied dark color. The TMainMenu color was changed by Win32MenuStyler.

Usage

pascal
 ApplyFormDarkTitle(AForm: TForm; ADarkMode: bool; AForceApply: bool);

From the Free Pascal wiki, page "Win32TitleStyler", as it stood on 2022-06-04 after a change by Alextp, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 1, last changed by WikiArchive .