revealToUser impl


#1

Hi Jules,

revealToUser implementation on Windows is not doing the right thing. It opens the directory the file is but do not select it.

Here is the right code.

It requires Windows XP but I don’t think that’s a big deal nowadays

  ITEMIDLIST *pidl = ILCreateFromPath(fullPath.toUTF16());
  if(pidl) 
  {
    SHOpenFolderAndSelectItems(pidl, 0, 0, 0);
    ILFree(pidl);
  }
}

#2

Ah, great, thanks! I probably wrote that method back in the days when I was still trying to support win98, which would explain why I avoided using SHOpenFolderAndSelectItems!