How can I use DGInit() to change Dialog Character Set ?
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2018-11-01
08:10 AM
- last edited on
‎2022-10-05
01:32 PM
by
Daniel Kassai
‎2018-11-01
08:10 AM
I want to display Thai character in my dialog. But I cannot find any example of DGInit().
Thank you,
Thank you,
Labels:
- Labels:
-
Add-On (C++)
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2018-11-01 11:48 AM
‎2018-11-01
11:48 AM
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
Central Innovation
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2018-11-02 02:30 AM
‎2018-11-02
02:30 AM
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
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

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2018-11-02 03:16 AM
‎2018-11-02
03:16 AM
Hi, Maybe this fuction can help you CHSetDefaultCharCode(CC_Thai);
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2018-11-02 05:06 AM
‎2018-11-02
05:06 AM
Thank you.
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2018-11-02 05:18 AM
‎2018-11-02
05:18 AM
Hi leilei ,
It's work !!! Thank you very much !
Hemmachr
It's work !!! Thank you very much !
Hemmachr