Lines Matching defs:newid
185 long newid = InsertItem(insertPos, toshow->GetFileName().GetPrintable());
190 if (newid > 0) {
191 CSearchFile* before = (CSearchFile*)GetItemData(newid - 1);
200 if ((int)newid < GetItemCount() - 1) {
201 CSearchFile* after = (CSearchFile*)GetItemData(newid + 1);
212 SetItemPtrData(newid, toshowdata);
215 SetItem(newid, ID_SEARCH_COL_SIZE, CastItoXBytes( toshow->GetFileSize() ) );
235 SetItem( newid, ID_SEARCH_COL_SOURCES, temp );
238 SetItem( newid, ID_SEARCH_COL_TYPE, GetFiletypeByName( toshow->GetFileName() ) );
241 SetItem(newid, ID_SEARCH_COL_FILEID, toshow->GetFileHash().Encode() );
244 SetItem(newid, ID_SEARCH_COL_STATUS, DetermineStatusPrintable(toshow));
247 SetItem(newid, ID_SEARCH_COL_DIRECTORY, toshow->GetDirectory());
250 UpdateItemColor( newid );