Hello luzr
I have seen that with the last version with SHFILEINFO the right icon of a file called "印经济" can be readed, but if instead, "印经济" is a folder, the folder icon can be got with GetFileIcon(path, true), but not with GetFileIcon(path, true, true) as it is in the sources.
I thought that a solution would be changing NativePathIcon to something like:
#if defined(PLATFORM_WIN32)
if (IsDrive(path) && IsSpecialFolder(path))
return GetFileIcon(path, true, true);
else
return GetFileIcon(path, folder);
#endif
where IsSpecialFolder(path) would be true in folders with icons like Desktop but, if I where in Taiwan, could I get the taiwanese Desktop icon ?
Best regards
Koldo
|