![]() |
How to reload tooltip after load new language |
Post Reply
|
| Author | |
hila
Newbie
Joined: 10 July 2008 Location: Israel Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Topic: How to reload tooltip after load new languagePosted: 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?
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
hila
Newbie
Joined: 10 July 2008 Location: Israel Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
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
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |