Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Multilingual support
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Multilingual support

 Post Reply Post Reply
Author
Message
amir View Drop Down
Newbie
Newbie


Joined: 03 August 2011
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote amir Quote  Post ReplyReply Direct Link To This Post Topic: Multilingual support
    Posted: 27 July 2012 at 12:59am

Hi,

I have a problem with the multilingual support. When I run the scribble.exe Codejock sample under Windows XP, then I select the Russian language, then open the Pen->Pen Widths dialog box from the menu, I end up with the following dialog box:


When I try to do the same under Windows 7, I end up with the following dialog box:


Any ideas why the dialog box is not showing up correctly under Windows XP? Notice that the caption is correct but the static text fields are not showing up properly under Windows XP.

Thanks!


Back to Top
amir View Drop Down
Newbie
Newbie


Joined: 03 August 2011
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote amir Quote  Post ReplyReply Direct Link To This Post Posted: 28 August 2012 at 3:23am
We actually managed to fix this problem. In the definition of every dialog box in the XML file, we should add the following field: fontface="MS Shell Dlg"

A better fix is to change line 1207 in XTPResourceManager.cpp of the Codejock library to be:

PX_String(pPX, _T("fontface"), dlgTemplate.strFaceName, XTPSystemVersion()->IsWin2KOrGreater() ? _T("Microsoft Sans Serif") : _T("MS Sans Serif"));

rather than:

PX_String(pPX, _T("fontface"), dlgTemplate.strFaceName, _T("MS Sans Serif"));

Could you please include this fix in the next release of Codejock.

Best regards
Amir

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.