ListView: Treat OWNERDRAW as FULLROWSELECT #2

Fabian Cenedese Cenedese at indel.ch
Tue Feb 17 07:21:29 CST 2004


Hi

Second try to submit patch.

Changelog:
    Fabian Cenedese <Cenedese at indel.ch>
    ListView should behave in OWNERDRAW as in FULLROWSELECT. This
    allows to select cells not in the first column in REPORT mode with
    OWNERDRAW style set.


Index: wine/dlls/comctl32/listview.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/listview.c,v
retrieving revision 1.380
diff -u -r1.380 listview.c
--- wine/dlls/comctl32/listview.c       10 Dec 2003 00:37:14 -0000      1.380
+++ wine/dlls/comctl32/listview.c       2 Feb 2004 14:09:16 -0000
@@ -5980,7 +5980,8 @@
        }
     }
-    if (select && !(uView == LVS_REPORT && (infoPtr->dwLvExStyle & LVS_EX_FULLROWSELECT)))
+    if (select && !(uView == LVS_REPORT && ((infoPtr->dwLvExStyle & LVS_EX_FULLROWSELECT)
+       || (infoPtr->dwStyle & LVS_OWNERDRAWFIXED))))
     {
         if (uView == LVS_REPORT)
         { 





More information about the wine-patches mailing list