aboutsummaryrefslogtreecommitdiff
path: root/c/listview.c
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-04-02 04:00:54 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-04-02 04:00:54 +0200
commite9978f8d1c1acd2e51a64ad5dbe936417fd094d5 (patch)
tree9440e5b7c30e84a3b942e10ce332b1a2413723ca /c/listview.c
parentdf61ed83d8511f3ecb26d5af119df619b430b2f9 (diff)
downloadEpisodeBrowser-e9978f8d1c1acd2e51a64ad5dbe936417fd094d5.tar.gz
Clean up UpdateTheme.
Diffstat (limited to 'c/listview.c')
-rw-r--r--c/listview.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/c/listview.c b/c/listview.c
index a578c61..8a96219 100644
--- a/c/listview.c
+++ b/c/listview.c
@@ -77,13 +77,3 @@ LvHeight(HWND hLv)
return iCount? Dpi(27)+iCount*Dpi(19): 0;
}
-/* Enable/disable non-classic list view theme. */
-void
-LvSetTheme(HWND hLv, int bUseTheme)
-{
- ListView_SetExtendedListViewStyleEx(hLv,
- LVS_EX_DOUBLEBUFFER, bUseTheme ? LVS_EX_DOUBLEBUFFER : 0);
- SendMessage(hLv, WM_UPDATEUISTATE,
- MAKEWPARAM(bUseTheme ? UIS_SET : UIS_CLEAR, UISF_HIDEFOCUS), 0);
- SetWindowTheme(hLv, bUseTheme ? TEXT("Explorer") : NULL, NULL);
-}