Home » U++ Library support » FileSel&FileList, Path » FileSel and international files problem when getting icon image
Re: FileSel and international files problem when getting icon image [message #18788 is a reply to message #18542] |
Tue, 21 October 2008 07:00 |
|
koldo
Messages: 3357 Registered: August 2008
|
Senior Veteran |
|
|
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
Best regards
IƱaki
|
|
|
|
|
FileSel and international files problem when getting icon image
By: koldo on Tue, 07 October 2008 13:17
|
|
|
Re: FileSel and international files problem when getting icon image
By: mirek on Sun, 19 October 2008 22:48
|
|
|
Re: FileSel and international files problem when getting icon image
By: koldo on Mon, 20 October 2008 09:14
|
|
|
Re: FileSel and international files problem when getting icon image
By: mirek on Mon, 20 October 2008 10:42
|
|
|
Re: FileSel and international files problem when getting icon image
By: koldo on Mon, 20 October 2008 22:49
|
|
|
Re: FileSel and international files problem when getting icon image
By: mirek on Wed, 22 October 2008 23:37
|
|
|
Re: FileSel and international files problem when getting icon image
By: koldo on Tue, 21 October 2008 07:00
|
|
|
Re: FileSel and international files problem when getting icon image
By: mirek on Wed, 22 October 2008 23:39
|
|
|
Re: FileSel and international files problem when getting icon image
By: koldo on Thu, 23 October 2008 00:20
|
|
|
Re: FileSel and international files problem when getting icon image
By: mirek on Thu, 23 October 2008 09:18
|
Goto Forum:
Current Time: Sat Apr 27 00:03:43 CEST 2024
Total time taken to generate the page: 0.03795 seconds
|