ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 when folder name is unicode, filename's truncated
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

heoseby

Korea
1 Posts

Posted - Mar 30 2018 :  05:31:11  Show Profile  Reply
hello.

I like TImageEnFolderMView to use for folder gallery.
it works very good.
but when folder name is unicode or multibyte string.
thumbnail's filename is truncated.
for example,
when folder name is "c:\#54620;#44544;#54260;#45908;", and file name is "myfilename.jpg".
it shows filename as "lename.jpg".

thumbnail's hint shows folder name and etc. The folder name in hint shows "c:\#54620;#44544;#54260;#45908;\myfi" .

it maybe results from string type .

i tested in delphi7 and xe6.
The same problem occurs in both.

so i solved the problem with OnImageDraw2 event and drawtext api.

is there any other good solution ?





xequte

38175 Posts

Posted - Apr 02 2018 :  01:35:35  Show Profile  Reply
Hi

I cannot reproduce that at my end (using a Unicode compatible version of Delphi). Can you give me more information?




Nigel
Xequte Software
www.imageen.com

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: