Explorer theme for ListViews and TreeViews on Vista+

Propose new features and changes
just me
Posts: 7172
Joined: 02 Oct 2013, 08:51
Location: Germany

Explorer theme for ListViews and TreeViews on Vista+

12 Jul 2015, 04:51

Recently I found this interesting post. Starting with Win Vista Microsoft added additional themes for TreeViews and ListViews providing an alternate appearance used by the explorer.

AHK ListViews and TreeViews are themed by default. So I think that the option +Theme is used rather rarely in existing scripts. Also, if someone once used -Theme I doubt that he might want to restore the default theme with +Theme while the script is running.

So I think that the +Theme option used inGui, Add, ... could be used to set the "Explorer" theme for ListViews and TreeViews on Vista+.

Code: Select all

DllCall("UxTheme.dll\SetWindowTheme", "Ptr", ControlHandle, "WStr", "Explorer", "Ptr", 0)
Edit: Added a thread in Tutorials for the time being.

Return to “Wish List”

Who is online

Users browsing this forum: No registered users and 3 guests