Page 1 of 1

Dark Theme ListView

Posted: 10 Apr 2024, 14:50
by NPerovic
This script applies a dark theme to the ListView control.
This script is compatible with AutoHotkey v2.1-alpha.9 or later.

Features
  • Applies a dark theme to the ListView control.
  • Compatible with AutoHotkey v2.1-alpha.9 or later.
  • Learn more about the ahk v2.1-alpha: Click here
image.png
UIAViewer Applied Dark Theme
image.png (32.34 KiB) Viewed 562 times
Usage
  1. Download the DarkListView.ahk.
  2. Include the DarkListView.ahk file in your script.
  3. Implement dark theme by using the SetDarkMode method.
Example

Code: Select all

#requires AutoHotkey v2.1-alpha.9
#include <DarkListView>

myGui := Gui(, "My ListView"), myGui.BackColor := 0x202020
lv    := myGui.AddListView("Count100 LV0x8000 R10 W400 cWhite Background" myGui.BackColor, ["Select", "Number", "Description"])
lv.SetDarkMode()
Get Code
https://github.com/nperovic/DarkThemeListView