Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Right to Left reading and Left Scrollbar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Right to Left reading and Left Scrollbar

 Post Reply Post Reply
Author
Message
yycinter View Drop Down
Groupie
Groupie


Joined: 06 October 2008
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote yycinter Quote  Post ReplyReply Direct Link To This Post Topic: Right to Left reading and Left Scrollbar
    Posted: 17 February 2009 at 2:25am
Hi,

I'm using Toolkit 12.0.0.0 in a multi-lang project.
In Arabic version, Report Control should align with language reading style (right to left reading and input).

I tried add WS_EX_LEFTSCROLLBAR | WS_EX_RIGHT options while creating report control, but not working.

Anyone can help on this, appreciate!
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: 18 February 2009 at 1:32am
Use WS_EX_LAYOUTRTL or just call report.SetLayoutRTL(TRUE);
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 18 February 2009 at 8:56pm

Only call ModifyStyleEx(NULL, WS_EX_LAYOUTRTL) is not enough - better call SetLayoutRTL(TRUE);

Back to Top
yycinter View Drop Down
Groupie
Groupie


Joined: 06 October 2008
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote yycinter Quote  Post ReplyReply Direct Link To This Post Posted: 18 February 2009 at 9:07pm
Thank you guys, SetLayoutRTL works for me.
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.156 seconds.