Listview X10
Dimitrie O. Paun
dpaun at rogers.com
Thu Oct 24 13:57:30 CDT 2002
This should fix the strange refresh problem
noticed by Rein, on green lines.
ChangeLog
Always draw the main item in full row select.
--- dlls/comctl32/listview.c.X9 Thu Oct 24 14:05:35 2002
+++ dlls/comctl32/listview.c Thu Oct 24 14:27:45 2002
@@ -3645,6 +3645,10 @@
}
iterator_rangeitems(&j, colRange);
+ /* in full row select, we _have_ to draw the main item */
+ if (infoPtr->dwLvExStyle & LVS_EX_FULLROWSELECT)
+ j.nSpecial = 0;
+
/* figure out what we need to draw */
iterator_visibleitems(&i, infoPtr, hdc);
@@ -3658,7 +3662,7 @@
Position.x += Origin.x;
Position.y += Origin.y;
- if (rgntype == COMPLEXREGION)
+ if (rgntype == COMPLEXREGION && !((infoPtr->dwLvExStyle & LVS_EX_FULLROWSELECT) && j.nItem == 0))
{
LISTVIEW_GetHeaderRect(infoPtr, j.nItem, &rcItem);
rcItem.top = 0;
--
Dimi.
More information about the wine-patches
mailing list