cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Archicad C++ API
About Archicad add-on development using the C++ API.

How can I use DGInit() to change Dialog Character Set ?

Not applicable
I want to display Thai character in my dialog. But I cannot find any example of DGInit().
Thank you,
5 REPLIES 5
All ARCHICAD text is Unicode-based, so you can put in any character you like. Use resources for all the UI components so you can localise each target region. So you might have multiple versions of your resources targeting EN, FR, DE or TH. ARCHICAD won't automatically switch between these, so you need to build locale-specific versions.
Ralph Wessel BArch
Central Innovation
Not applicable
Hi Ralph,
Thank for answer.
In previous version of ArchiCAD api I can display Thai character in dialog, but in api 22 Thai character display as ???????? in dialog. How can I solve this ?
Thank
Hemmachr
leilei
Enthusiast
Hi, Maybe this fuction can help you CHSetDefaultCharCode(CC_Thai);
Not applicable
Thank you.
Not applicable
Hi leilei ,
It's work !!! Thank you very much !
Hemmachr