Print Page | Close Window

How to reload tooltip after load new language

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=11375
Printed Date: 15 November 2025 at 10:53am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to reload tooltip after load new language
Posted By: hila
Subject: How to reload tooltip after load new language
Date 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?



Replies:
Posted By: Oleg
Date 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


Posted By: hila
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net