David Hedberg : comctl32: Return 0 when extended item state is requested from a treeview.

Alexandre Julliard julliard at winehq.org
Wed Aug 18 12:09:57 CDT 2010


Module: wine
Branch: master
Commit: 31f538516ad50e7b2debaae168bc3173b7e3175c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=31f538516ad50e7b2debaae168bc3173b7e3175c

Author: David Hedberg <david.hedberg at gmail.com>
Date:   Wed Aug 18 07:08:13 2010 +0200

comctl32: Return 0 when extended item state is requested from a treeview.

---

 dlls/comctl32/treeview.c |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/dlls/comctl32/treeview.c b/dlls/comctl32/treeview.c
index cd2dfb2..3e987ab 100644
--- a/dlls/comctl32/treeview.c
+++ b/dlls/comctl32/treeview.c
@@ -33,7 +33,8 @@
  *
  *   missing styles: TVS_FULLROWSELECT, TVS_INFOTIP, TVS_RTLREADING,
  *
- *   missing item styles: TVIS_CUT, TVIS_EXPANDPARTIAL
+ *   missing item styles: TVIS_CUT, TVIS_EXPANDPARTIAL, TVIS_EX_FLAT,
+ *      TVIS_EX_DISABLED
  *
  *   Make the insertion mark look right.
  *   Scroll (instead of repaint) as much as possible.
@@ -2142,6 +2143,13 @@ TREEVIEW_GetItemT(const TREEVIEW_INFO *infoPtr, LPTVITEMEXW tvItem, BOOL isW)
             }
         }
     }
+
+    if (tvItem->mask & TVIF_STATEEX)
+    {
+        FIXME("Extended item state not supported, returning 0.\n");
+        tvItem->uStateEx = 0;
+    }
+
     TRACE("item <%p>, txt %p, img %p, mask %x\n",
 	  wineItem, tvItem->pszText, &tvItem->iImage, tvItem->mask);
 




More information about the wine-cvs mailing list