![]() |
Multilingual support |
Post Reply ![]() |
Author | |
amir ![]() Newbie ![]() Joined: 03 August 2011 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() 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! |
|
![]() |
|
amir ![]() Newbie ![]() Joined: 03 August 2011 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |