Zhiyi Zhang : shell32: Add LVS_SHOWSELALWAYS to the list view in shell views.

Alexandre Julliard julliard at winehq.org
Fri Jul 15 14:44:42 CDT 2022


Module: wine
Branch: master
Commit: 616539a070e9896bdfe525998415cd191bdbb5c3
URL:    https://gitlab.winehq.org/wine/wine/-/commit/616539a070e9896bdfe525998415cd191bdbb5c3

Author: Zhiyi Zhang <zzhang at codeweavers.com>
Date:   Fri Jul  8 17:05:16 2022 +0800

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 <zzhang at codeweavers.com>

---

 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 1b4ba304dc1..40a7d76c359 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);




More information about the wine-cvs mailing list