Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Localize Accelerators
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Localize Accelerators

 Post Reply Post Reply
Author
Message
Ark42 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 20 October 2003
Status: Offline
Points: 291
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ark42 Quote  Post ReplyReply Direct Link To This Post Topic: Localize Accelerators
    Posted: 09 June 2006 at 5:11pm

The accelerator text is provided by Windows is it not? Is there any special call I need to do so that the text is translated properly? In my French build of my application, it seems that things like Page Down, Page Up, Space, and Enter still show up in English. I assume Ctrl and single letters do not need to be translated, but even weirder is that [ and ] show up as "Accent circonflexe" and ), so I know somewhere inside of Codejock or Windows, something is being translated for me.

Back to Top
Sven View Drop Down
Senior Member
Senior Member


Joined: 21 August 2003
Location: Germany
Status: Offline
Points: 127
Post Options Post Options   Thanks (0) Thanks(0)   Quote Sven Quote  Post ReplyReply Direct Link To This Post Posted: 09 June 2006 at 5:26pm
Call CXTPShortcutManager::UseSystemKeyNameText(TRUE) or set m_bUseSystemKeyNameText in CXTPShortcutManager::CXTPShortcutManager to TRUE.
Back to Top
Ark42 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 20 October 2003
Status: Offline
Points: 291
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ark42 Quote  Post ReplyReply Direct Link To This Post Posted: 09 June 2006 at 5:43pm

The default for that is FALSE then I take it?

I wish I could test this quicker, but even setting all of my local settings on Windows XP to French/France for keyboard/regional layout stuff still leaves these in English for me anyway.

If I set this to TRUE, then on a *real* French version of Windows XP, these things will be translated automatically and properly, by Windows, am I correct?

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 June 2006 at 9:29am

Hello

yes, also you can manually translate them:

pCommandBars->GetShortcutManager()->SetKeyNameText(VK_ DOWN, "xxx");

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.094 seconds.