santosh_14
asked on
Display Unicode in a listview
I want to display chinese characters in a listview?
How?
I want a listview which supports unicode??
I am able to display the chinese in the "rich" label from Microsoft forms.
Thx
How?
I want a listview which supports unicode??
I am able to display the chinese in the "rich" label from Microsoft forms.
Thx
StrConv would only help if you had regular text in Unicode format and you were going to convert it to plain ascii text.
santosh 14 wants to keep the chinese characters in chinese character format but diplay them in a listview. Sorry, I don't know which ones support unicode and which do not. I know that it's possible to draw images in a regular listbox and (I'd assume) a listview using something called "owner draw" listbox, but the code behind that would be pretty ugly. It would be better to find a control that supports the unicode.
santosh 14 wants to keep the chinese characters in chinese character format but diplay them in a listview. Sorry, I don't know which ones support unicode and which do not. I know that it's possible to draw images in a regular listbox and (I'd assume) a listview using something called "owner draw" listbox, but the code behind that would be pretty ugly. It would be better to find a control that supports the unicode.
According to M$ listview control is unicode enabled using
CCM_SETUNICODEFORMAT
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/win32/unilayer_452r.asp
http://www.vbbox.com/codebox/code/src/cheaderctl.cls
CCM_SETUNICODEFORMAT
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/win32/unilayer_452r.asp
http://www.vbbox.com/codebox/code/src/cheaderctl.cls
ASKER
Thanks.
What do I need to do *exactly*
Not very familiar with sendmessage
I'd appreciate if you could educate me on it too
TIA
What do I need to do *exactly*
Not very familiar with sendmessage
I'd appreciate if you could educate me on it too
TIA
Tested. In my environment:
NJStar2.23, Win2k
result = "???" :( ..
NJStar2.23, Win2k
result = "???" :( ..
ASKER
waiting for answers
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi santosh_14,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:
Accept hes's comment(s) as an answer.
santosh_14, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you. DO NOT accept this comment as an answer.
EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:
Accept hes's comment(s) as an answer.
santosh_14, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you. DO NOT accept this comment as an answer.
EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
Per recommendation, force-accepted.
Netminder
CS Moderator
Netminder
CS Moderator
Anthony