aboutsummaryrefslogtreecommitdiff
path: root/c/listview.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/listview.c')
-rw-r--r--c/listview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/listview.c b/c/listview.c
index a69ddf8..a578c61 100644
--- a/c/listview.c
+++ b/c/listview.c
@@ -83,7 +83,7 @@ LvSetTheme(HWND hLv, int bUseTheme)
{
ListView_SetExtendedListViewStyleEx(hLv,
LVS_EX_DOUBLEBUFFER, bUseTheme ? LVS_EX_DOUBLEBUFFER : 0);
- SendMessage(hLv, WM_CHANGEUISTATE,
+ SendMessage(hLv, WM_UPDATEUISTATE,
MAKEWPARAM(bUseTheme ? UIS_SET : UIS_CLEAR, UISF_HIDEFOCUS), 0);
SetWindowTheme(hLv, bUseTheme ? TEXT("Explorer") : NULL, NULL);
}