Set the item mask before calling GetItem.

This commit is contained in:
Ulrich Czekalla 2004-02-03 00:09:57 +00:00 committed by Alexandre Julliard
parent 7b94c7e094
commit c31d413c3c
1 changed files with 1 additions and 0 deletions

View File

@ -1362,6 +1362,7 @@ static LRESULT ShellView_OnNotify(IShellViewImpl * This, UINT CtlID, LPNMHDR lpn
item_index = ListView_GetNextItem(This->hWndList,
item_index, LVNI_SELECTED);
item.iItem = item_index;
item.mask |= LVIF_PARAM;
ListView_GetItemA(This->hWndList, &item);
/* get item pidl */