You see the overlay icons in the listview / Windows 64bit
having replaced the flag SHGFI_TYPENAME by SHGFI_USEFILEATTRIBUTES as the article explains to be the driver to gain the speed benefit?
If i use SHGFI_TYPENAME i'll see the overlays, but it is described as to be slower.
If i use SHGFI_USEFILEATTRIBUTES (which is described to be faster), i'll see them not.
ImageHandle := SHGetFileInfoW(PWideChar(FileName),
//FILE_ATTRIBUTE_NORMAL, // for non-folder items
FILE_ATTRIBUTE_DIRECTORY, // for folders only
{%H-}FileInfo, SizeOf(FileInfo),
//SHGFI_USEFILEATTRIBUTES or // ** is described to be faster --- but overlay icons are lost!
//SHGFI_TYPENAME or // ** is described to be slower --- but the overlay icons are preserved!
SHGFI_USEFILEATTRIBUTES or
SHGFI_ICON or SHGFI_SMALLICON or SHGFI_SYSICONINDEX);
In the listview in virtual mode imo one shouldn't recognize much speed difference though as the SHGetFileInfoW should be executed only for the few lines one sees on the screen at a time, not for the 18000 items the folder might contain.
But maybe i did misunderstand something basically. But what?