Page 1 of 1

Graphics with Unicode inscriptions

Posted: Tue Oct 10, 2006 4:58 am
by Rimantas
Hi !

It's needful to work with application in some languages . One of them can be Russian with Cyrilic alphabet . As I know , the best way to view true inscriptions in menus , dialogs & windows says is Unicode text . Can you get me a sample , how I can to do that working ? I'll store all needfuls inscriptions in txt files ( lt.txt , ru.txt , en.txt and etc. ) with unique IDs . So when user at program startup moment will choose language I will direct to needful txt file and will get needfuls inscriptions . But I don't know how to put them in dialogs say as Unicode string ... :(

Many thanks in advance ! With best regards ! Rimantas

Posted: Tue Oct 10, 2006 7:16 am
by areang
Rimantas,

Save all dialog information on ini files.

best regard
areang

Posted: Tue Oct 10, 2006 8:36 am
by Antonio Linares
Rimantas,

You may use AnsiToWide( <cAnsiText> ) -- > <cUnicodeText> and WideToAnsi( <cUnicodeText> ) --> <cAnsiText> to manage unicode strings.

Posted: Wed Oct 11, 2006 7:45 am
by Rimantas
Antonio Linares wrote: You may use AnsiToWide( <cAnsiText> ) -- > <cUnicodeText> and WideToAnsi( <cUnicodeText> ) --> <cAnsiText> to manage unicode strings.
Hi , Antonio ! Thanks for the answer :-) . It seems that AnsiToWide(cString) will get me what I want .

Regards !