Commit 839b31fc authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

comctl32/listview: Revert column scrolling recent change, it should be handled differently.

parent e6369988
......@@ -4675,15 +4675,12 @@ static void LISTVIEW_ScrollColumns(LISTVIEW_INFO *infoPtr, INT nColumn, INT dx)
rcCol.left = rcCol.right;
/* adjust the other columns */
for (nCol = 0; nCol < DPA_GetPtrCount(infoPtr->hdpaColumns); nCol++)
for (nCol = nColumn; nCol < DPA_GetPtrCount(infoPtr->hdpaColumns); nCol++)
{
lpColumnInfo = LISTVIEW_GetColumnInfo(infoPtr, nCol);
if (lpColumnInfo->rcHeader.left >= rcCol.left)
{
lpColumnInfo->rcHeader.left += dx;
lpColumnInfo->rcHeader.right += dx;
}
}
/* do not update screen if not in report mode */
if (!is_redrawing(infoPtr) || infoPtr->uView != LV_VIEW_DETAILS) return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment