[SHELL32]
authorDavid Quintana <gigaherz@gmail.com>
Mon, 11 Aug 2014 22:06:12 +0000 (22:06 +0000)
committerDavid Quintana <gigaherz@gmail.com>
Mon, 11 Aug 2014 22:06:12 +0000 (22:06 +0000)
* Make non-desktop shell views always show selections (even while unfocused).

svn path=/branches/shell-experiments/; revision=63869

dll/win32/shell32/shlview.cpp

index edb6b35..5a9fc67 100644 (file)
@@ -497,7 +497,7 @@ BOOL CDefView::CreateList()
     if (m_FolderSettings.fFlags & FWF_DESKTOP)
         dwStyle |= LVS_ALIGNLEFT;
     else
-        dwStyle |= LVS_ALIGNTOP;
+        dwStyle |= LVS_ALIGNTOP | LVS_SHOWSELALWAYS;
 
     switch (m_FolderSettings.ViewMode)
     {