Localizing shortcut key text |
Post Reply |
Author | |
markh
Groupie Joined: 12 November 2003 Location: United Kingdom Status: Offline Points: 49 |
Post Options
Thanks(0)
Posted: 10 March 2006 at 7:21am |
Hello Is there any way of localizing the Ctrl, Shift and Alt part of the shortcut key text? I have tried using the SetKeyNameText method but this only appears to alter the actual keystroke text. I still get "Ctrl+" at the beginning of the string. For example if I use: SetKeyNameText(int('O'), _bstr_t(_T("Hello"))); I get displayed in the menu "Ctrl+Hello". On a German keyboard "Ctrl" is instead called "Strg". Therefore I would like the shortcut text in the above example to be "Strg+Hello". Is this possible? Thanks
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
In 9.81 it works: //#define VK_CONTROL 0x11 SetKeyNameText(VK_CONTROL, _bstr_t(_T("Strg"))); SetKeyNameText(int('O'), _bstr_t(_T("Hello"))); |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
markh
Groupie Joined: 12 November 2003 Location: United Kingdom Status: Offline Points: 49 |
Post Options
Thanks(0)
|
Thanks Oleg. That worked OK! Mark |
|
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 |