Ignore:
Timestamp:
Mar 29, 2000, 5:24:08 PM (25 years ago)
Author:
cbratschi
Message:

onopen fix, FindFirstFileMultiA, "shell.dll" icon fix, load exe icons

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/shell32/shlview.cpp

    r3257 r3271  
    1 /* $Id: shlview.cpp,v 1.11 2000-03-28 15:28:54 cbratschi Exp $ */
     1/* $Id: shlview.cpp,v 1.12 2000-03-29 15:24:08 cbratschi Exp $ */
    22/*
    33 * ShellView
     
    12001200                SHELLDETAILS sd;
    12011201
    1202                 IShellFolder2_GetDetailsOf(This->pSF2Parent, pidl, lpdi->item.iSubItem, &sd);
    1203                 StrRetToStrNA( lpdi->item.pszText, lpdi->item.cchTextMax, &sd.str, NULL);
    1204                 TRACE("-- text=%s\n",lpdi->item.pszText);
     1202                if(IShellFolder2_GetDetailsOf(This->pSF2Parent, pidl, lpdi->item.iSubItem, &sd) == S_OK)
     1203                {
     1204                  StrRetToStrNA( lpdi->item.pszText, lpdi->item.cchTextMax, &sd.str, NULL);
     1205                  TRACE("-- text=%s\n",lpdi->item.pszText);
     1206                } else lpdi->item.pszText[0] = 0;
    12051207              }
    12061208              else
     
    12101212            }
    12111213            if(lpdi->item.mask & LVIF_IMAGE)    /* image requested */
    1212          {
    1213            lpdi->item.iImage = SHMapPIDLToSystemImageListIndex(This->pSFParent, pidl, 0);
    1214          }
     1214            {
     1215              lpdi->item.iImage = SHMapPIDLToSystemImageListIndex(This->pSFParent, pidl, 0);
     1216            }
     1217#if 0 //CB: experimental (local cache would be better)
     1218            lpdi->item.mask |= LVIF_DI_SETITEM;
     1219#endif
    12151220       break;
    12161221
Note: See TracChangeset for help on using the changeset viewer.