Print Page | Close Window

Translations and Tooltips

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=3280
Printed Date: 10 June 2024 at 9:23am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Translations and Tooltips
Posted By: Cedric
Subject: Translations and Tooltips
Date Posted: 25 November 2005 at 8:07am
Hello,

i load resourcefile for a french translations like this in InitInstance function like this


    CString l_PathRes = ( ( CPbMainFrame* )m_pMainWnd )->GetPathExe( ) + "XTPResourceFr.dll";

    XTPResourceManager( )->SetResourceManager( new CXTPResourceManager( ) );
    XTPResourceManager( )->SetResourceFile( l_PathRes );


it work's fine for customize dialogue for instance.
My 1st problem was  the Tooltips "Toolbar options" is still in english
The 2nd : when i'm creating a new toolbar, tooltip of close button is in french but when i exit my application and restart it. The tooltip become in english.  in brief when i create a toolbar Tooltip is in french and at the reload of the application tooltip is in english.



Replies:
Posted By: Oleg
Date Posted: 26 November 2005 at 6:47am

Hi,

Can you move this to CYourApp::InitInstance() before you create CMainFrame?

 

 



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Cedric
Date Posted: 28 November 2005 at 9:42am
thanks it's fine now.

But I have an other problem. the tooltip doesn't appear with CXTPToolba whit custom control



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