![]() |
Localize Accelerators |
Post Reply
|
| Author | |
Ark42
Senior Member
Joined: 20 October 2003 Status: Offline Points: 291 |
Post Options
Thanks(0)
Quote Reply
Topic: Localize AcceleratorsPosted: 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. |
|
![]() |
|
Sven
Senior Member
Joined: 21 August 2003 Location: Germany Status: Offline Points: 127 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 June 2006 at 5:26pm |
|
Call CXTPShortcutManager::UseSystemKeyNameText(TRUE) or set m_bUseSystemKeyNameText in CXTPShortcutManager::CXTPShortcutManager to TRUE.
|
|
![]() |
|
Ark42
Senior Member
Joined: 20 October 2003 Status: Offline Points: 291 |
Post Options
Thanks(0)
Quote Reply
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? |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
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 |