From 616539a070e9896bdfe525998415cd191bdbb5c3 Mon Sep 17 00:00:00 2001 From: Zhiyi Zhang Date: Fri, 8 Jul 2022 17:05:16 +0800 Subject: [PATCH] shell32: Add LVS_SHOWSELALWAYS to the list view in shell views. FWF_SHOWSELALWAYS is deprecated and has no effect. Manual tests show that LVS_SHOWSELALWAYS is always used. Signed-off-by: Zhiyi Zhang --- dlls/shell32/shlview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/shell32/shlview.c b/dlls/shell32/shlview.c index 1b4ba304dc1a..40a7d76c3595 100644 --- a/dlls/shell32/shlview.c +++ b/dlls/shell32/shlview.c @@ -358,7 +358,7 @@ static BOOL ShellView_CreateList (IShellViewImpl * This) TRACE("%p\n",This); dwStyle = WS_TABSTOP | WS_VISIBLE | WS_CHILDWINDOW | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | - LVS_SHAREIMAGELISTS | LVS_EDITLABELS | LVS_ALIGNLEFT | LVS_AUTOARRANGE; + LVS_SHAREIMAGELISTS | LVS_EDITLABELS | LVS_ALIGNLEFT | LVS_AUTOARRANGE | LVS_SHOWSELALWAYS; dwExStyle = WS_EX_CLIENTEDGE; dwStyle |= ViewModeToListStyle(This->FolderSettings.ViewMode);