unicode with polish characters. |
Post Reply |
Author | |
novastor
Groupie Joined: 18 January 2006 Status: Offline Points: 20 |
Post Options
Thanks(0)
Posted: 11 May 2006 at 8:29pm |
Hello,
I am developing Windows App in VC8.0 using Xtremetoolkit version 9.81. I have unicode folder paths and folders under my volumes. When I try to view these from explorer I can see them clearly. However when I use my application tree I cannot. I am using a loop to populate my tree and list items. here is sample code: TCHAR szBuff[MAX_PATH] GetName(lpsf, lpi,SHGDN_INFOLDER , szBuff); lvi.pszText = szBuff; I can succesfully see Indian, Arabic, Chinese, Japanese characters in my tree/list. However I cannot see these certain characters (also some similary polish characters): "Русский.txt" Can somebody help. Thanks, Sachin Modak. NovaStor Corporation. |
|
novastor
Groupie Joined: 18 January 2006 Status: Offline Points: 20 |
Post Options
Thanks(0)
|
Hello,
It seems like I just had to change the tree and list view text fonts. That seem to have fixed the problem. Here is the code HFONT appFont; appFont = CreateFont(16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, _T("Tahoma")); PostMessage( WM_SETFONT, (WPARAM)(HFONT)appFont ); Now the problem being, I have about 20 languages ranging from Japanese, Simple Chinese, Couple indian dialects and major european languages. The font size of 16 makes it look a little bigger than the classical windows explorer tree view. Is this a limitation? Thanks. Sachin Modak. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hmm.. Do you build with unicode version? If instead 16 you will try 12, what do ou see?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
novastor
Groupie Joined: 18 January 2006 Status: Offline Points: 20 |
Post Options
Thanks(0)
|
It will display polish characters right, however it will show some
indian dialects as if in some sort of a patch. a label sort of.
Sachin Modak. NovaStor Coporation. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
So...Do you build with unicode version ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
novastor
Groupie Joined: 18 January 2006 Status: Offline Points: 20 |
Post Options
Thanks(0)
|
Yes I build with unicode version.
|
|
novastor
Groupie Joined: 18 January 2006 Status: Offline Points: 20 |
Post Options
Thanks(0)
|
I am attaching screenshots with font size 12 and 16 font type Tahoma.
Sachin Modak. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Can you also attach how it all show explorer....
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
novastor
Groupie Joined: 18 January 2006 Status: Offline Points: 20 |
Post Options
Thanks(0)
|
Here it is...
Sachin Modak. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |