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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 when folder name is unicode, filename's truncated

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
heoseby Posted - Mar 30 2018 : 05:31:11
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 ?





1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Apr 02 2018 : 01:35:35
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