Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - How to reload tooltip after load new language
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to reload tooltip after load new language

 Post Reply Post Reply
Author
Message
hila View Drop Down
Newbie
Newbie
Avatar

Joined: 10 July 2008
Location: Israel
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote hila Quote  Post ReplyReply Direct Link To This Post Topic: How to reload tooltip after load new language
    Posted: 10 July 2008 at 6:22am
We use CXTPCommandBars::SerializeBarState(ar, TRUE, FALSE);  to save current command bar into an archive and that archive into a file. We then use CXTPCommandBars::LoadDesignerBars(ar) to load the command bar fom the archive.
When I save the command bars in English, exit the application, switch my computer language to French (which is supported in our resources), enter the applciation again, and by that load the command bar from the archive I see that the menu items are translated to French but the Tooltip is still in English.
Is there a way to reload the tooltips again in the correct language from resources?
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 10 July 2008 at 6:34am
Hi,
See CommandBars\Actions sample. With Actions you will be able to load captions/tooltips and switch them runtime.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
hila View Drop Down
Newbie
Newbie
Avatar

Joined: 10 July 2008
Location: Israel
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote hila Quote  Post ReplyReply Direct Link To This Post Posted: 13 July 2008 at 4:46am
I do not see Actions sample under CommandBars. Can you refer me to the class and method I need to look at in order to load toolbar on run time?
 
Thanks,
Hila
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.