Recent

Author Topic: Very simple Style Manager for Win32/64 apps on Lazarus  (Read 641 times)

sgj

  • Newbie
  • Posts: 3
Very simple Style Manager for Win32/64 apps on Lazarus
« on: January 18, 2026, 02:21:54 pm »
Hi

This is experimental small project to custom theming apps on Win32/64.

It's override UxTheme DrawThemeBackground.

Project page: https://github.com/sgjps/LazWin32CustomAppStyle

This project allows you to change the colors of elements that, for example, don't fit in dark mode:

Combobox: no blue frame
Edit/Memo etc.: default blue highlight color replaced by any other
ListView/TreeView selection item.

Creating new visual styles is very simple. All color values ​​can be overridden.

You can create dark mode, light mode, or any other color mode.



zamtmn

  • Hero Member
  • *****
  • Posts: 679
Re: Very simple Style Manager for Win32/64 apps on Lazarus
« Reply #1 on: January 19, 2026, 02:53:11 pm »
That's great news!
Do you color multiline/vertical tabs? is it possible to change the theme at runtime?

sgj

  • Newbie
  • Posts: 3
Re: Very simple Style Manager for Win32/64 apps on Lazarus
« Reply #2 on: January 20, 2026, 09:29:05 am »
Vertical tabs not themed. On PageControl and TabControl multiline tabs work, on tabControl is one minor bug with white frame around all tabs.

Support for runtime changes is on progress added.
« Last Edit: January 20, 2026, 04:10:33 pm by sgj »

 

TinyPortal © 2005-2018