aboutsummaryrefslogtreecommitdiff
path: root/c/listview.c
diff options
context:
space:
mode:
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);
-}