Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Right to Left bug
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Right to Left bug

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


Joined: 17 November 2004
Location: Australia
Status: Offline
Points: 29
Post Options Post Options   Thanks (0) Thanks(0)   Quote Spyder Quote  Post ReplyReply Direct Link To This Post Topic: Right to Left bug
    Posted: 24 March 2005 at 12:23am
When running on a system that has the RTL language pack installed, english text with brackets appears incorrectly.

This may just be a weird side effect of BiDi systems, since it also happens in the form caption; but this may also be caused by the way CodeJock appears to recommend enabling RTL support via Windows APIs.

I have attached a copy of the ScribbleMultiLang example, with a few strings hard-coded to english. Load the sample, then select "Arabic" from the language menu.

On a regular Windows system, everything appears fine. But install the language pack, and the problem appears.

2005-03-24_001054_ScribbleMultiLang.zip


To install the language pack (requires the windows CD):
On WinXP:
Control panel -> regional and language options -> languages tab

Under "Supplemental language support", ticking either checkbox will show the problem.


On Win2K:
Control panel -> regional options -> general tab

In the list of languages select Arabic.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 25 March 2005 at 1:59am
Can you attach screenshot what problem do you see?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Spyder View Drop Down
Newbie
Newbie


Joined: 17 November 2004
Location: Australia
Status: Offline
Points: 29
Post Options Post Options   Thanks (0) Thanks(0)   Quote Spyder Quote  Post ReplyReply Direct Link To This Post Posted: 28 March 2005 at 5:55pm
Sorry, I should have thought of that :)


Here's what I see:
Back to Top
Spyder View Drop Down
Newbie
Newbie


Joined: 17 November 2004
Location: Australia
Status: Offline
Points: 29
Post Options Post Options   Thanks (0) Thanks(0)   Quote Spyder Quote  Post ReplyReply Direct Link To This Post Posted: 31 March 2005 at 1:30am
I ended up fixing this one by adding an RTM character (unicode character 200f) before the first "(" which seems to fix the problem. It leaves the combobox with a "?" character in it on english systems, but works fine on a full arabic windows.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 06 April 2005 at 4:34am

I think it is bug of english systems.

Check Caption of bitmap you attached - it has same problem.

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Spyder View Drop Down
Newbie
Newbie


Joined: 17 November 2004
Location: Australia
Status: Offline
Points: 29
Post Options Post Options   Thanks (0) Thanks(0)   Quote Spyder Quote  Post ReplyReply Direct Link To This Post Posted: 06 April 2005 at 6:04pm
The only "bug" is in how the windows RTL engine handles brackets in relation to english text in an RTL string. Luckily windows reacts properly to the LRM and RLM characters so I was able to work around the issue.
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.219 seconds.