Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Translations and Tooltips
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Translations and Tooltips

 Post Reply Post Reply
Author
Message
Cedric View Drop Down
Newbie
Newbie


Joined: 27 October 2005
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote Cedric Quote  Post ReplyReply Direct Link To This Post Topic: Translations and Tooltips
    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.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 26 November 2005 at 6:47am

Hi,

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

 

 

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Cedric View Drop Down
Newbie
Newbie


Joined: 27 October 2005
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote Cedric Quote  Post ReplyReply Direct Link To This Post 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
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.109 seconds.