ListView: Treat OWNERDRAW as normal.

Fabian Cenedese Cenedese at indel.ch
Mon Feb 2 09:33:27 CST 2004


Hi

First try to submit patch.

Hello,

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 with OWNERDRAW.

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