This fixes (I hope! :)) Newsbin. ChangeLog Do not query items that are just being inserted. --- dlls/comctl32/listview.c.T0 Thu Oct 17 23:40:12 2002 +++ dlls/comctl32/listview.c Thu Oct 17 23:43:31 2002 @@ -2910,12 +2910,14 @@ if (!(lpItem = (LISTVIEW_ITEM *)DPA_GetPtr(hdpaSubItems, 0))) return FALSE; } - /* we need to handle the focus, and selection differently */ + /* we need to get the lParam and state of the item */ item.iItem = lpLVItem->iItem; item.iSubItem = lpLVItem->iSubItem; item.mask = LVIF_STATE | LVIF_PARAM; item.stateMask = ~0; - if (!LISTVIEW_GetItemT(infoPtr, &item, TRUE)) return FALSE; + item.state = 0; + item.lParam = 0; + if (!isNew && !LISTVIEW_GetItemT(infoPtr, &item, TRUE)) return FALSE; TRACE("oldState=%x, newState=%x\n", item.state, lpLVItem->state); /* determine what fields will change */