Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Docking Pane / Bar save state and localized names
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Docking Pane / Bar save state and localized names

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


Joined: 26 June 2007
Status: Offline
Points: 253
Post Options Post Options   Thanks (0) Thanks(0)   Quote MacW Quote  Post ReplyReply Direct Link To This Post Topic: Docking Pane / Bar save state and localized names
    Posted: 24 June 2012 at 3:55am
Hi,

I use an XML-based translation framework. All the resources of my apps are in a XML file, I don't use satellite or resource DLLs.

My users can switch the application language via a menu command. My app then restarts and comes up in the new language.

The problem is that I use XTP toolkit for toolbars and menus. Although I create these when my program loads, I need to store the docking state, pane positions and such. XTP seems to store the menu captions (command names), pane captions etc. as part of the docking state? Is this correct?

Because my application comes up only halfway translation. Menu commands and the captions shown in the tabs of docking pane groups still appear in the old language. When I click on a docking pane tab it sometimes switches to the new language name.

How can I handle this without loosing the ability to store docking panel and toolbar/menu states?
I want to save the state but the commands and panes must use the name set when I create them (I create them with the localized names and then load the state).



Back to Top
MacW View Drop Down
Senior Member
Senior Member


Joined: 26 June 2007
Status: Offline
Points: 253
Post Options Post Options   Thanks (0) Thanks(0)   Quote MacW Quote  Post ReplyReply Direct Link To This Post Posted: 02 July 2012 at 4:15pm
Is there no answer for this
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.