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

This commit is contained in:
David Hedberg 2010-08-18 07:08:13 +02:00 committed by Alexandre Julliard
parent 7e65349c0d
commit 31f538516a
1 changed files with 9 additions and 1 deletions

View File

@ -33,7 +33,8 @@
* *
* missing styles: TVS_FULLROWSELECT, TVS_INFOTIP, TVS_RTLREADING, * 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. * Make the insertion mark look right.
* Scroll (instead of repaint) as much as possible. * 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", TRACE("item <%p>, txt %p, img %p, mask %x\n",
wineItem, tvItem->pszText, &tvItem->iImage, tvItem->mask); wineItem, tvItem->pszText, &tvItem->iImage, tvItem->mask);