Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Right->Left reading order docking pane issue
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Right->Left reading order docking pane issue

 Post Reply Post Reply
Author
Message
robin_l View Drop Down
Senior Member
Senior Member


Joined: 15 October 2006
Status: Offline
Points: 117
Post Options Post Options   Thanks (0) Thanks(0)   Quote robin_l Quote  Post ReplyReply Direct Link To This Post Topic: Right->Left reading order docking pane issue
    Posted: 05 April 2009 at 5:21pm

If you set right->left reading option for menus, docked panes are unaffected. BUT, when you reset left->right they seem to switch sides...

You can see this in the Ribbon.RibbonSample application.
  1. Launch the Ribbon sample application; the "Styles" docking window is on the left.
  2. Now select the Options > Right to Left command. The menus and command bars swap around but the Styles docker remains on the left
  3. Select the Options > Right to Left command again. The menus and command bars reset. BUT, the Styles docker now moves to the right.
I guess that the docking panes should swap sides every time the reading order is changed....
Product: Xtreme ToolkitPro 2009 (13.4.1)
Platform: Windows 7 Ultimate(64bit)
Language: Visual Studio 2010 (C++)
Back to Top
robin_l View Drop Down
Senior Member
Senior Member


Joined: 15 October 2006
Status: Offline
Points: 117
Post Options Post Options   Thanks (0) Thanks(0)   Quote robin_l Quote  Post ReplyReply Direct Link To This Post Posted: 11 June 2009 at 3:47am
Still happens with 13.1 beta...
Product: Xtreme ToolkitPro 2009 (13.4.1)
Platform: Windows 7 Ultimate(64bit)
Language: Visual Studio 2010 (C++)
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: 11 June 2009 at 7:28am
Hi,
 
Thanks. Just add
RecalcLayout(FALSE);
in the end of OnOptionsRighttoleft method.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.047 seconds.