Graphics with Unicode inscriptions

Graphics with Unicode inscriptions

Postby Rimantas » Tue Oct 10, 2006 4:58 am

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
Rimantas U.
User avatar
Rimantas
 
Posts: 437
Joined: Fri Oct 07, 2005 12:56 pm
Location: Utena , Lithuania

Postby areang » Tue Oct 10, 2006 7:16 am

Rimantas,

Save all dialog information on ini files.

best regard
areang
areang
 
Posts: 128
Joined: Mon Jul 31, 2006 3:23 pm

Postby Antonio Linares » Tue Oct 10, 2006 8:36 am

Rimantas,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Rimantas » Wed Oct 11, 2006 7:45 am

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 !
Rimantas U.
User avatar
Rimantas
 
Posts: 437
Joined: Fri Oct 07, 2005 12:56 pm
Location: Utena , Lithuania


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 88 guests