Print Page | Close Window

Accelerator & Menu Item

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=1081
Printed Date: 03 July 2024 at 2:07am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Accelerator & Menu Item
Posted By: jimmy
Subject: Accelerator & Menu Item
Date Posted: 19 August 2004 at 3:32am
Where will translate accelerators to text for menu item.
We wrote a app with eng. language, but use it on German / ... Windows.
So we see in the menu,  MenuItem....UMSCH
not MenuItem....SHIFT.
Where can i change that ?

    Jimmy




Replies:
Posted By: Sven
Date Posted: 19 August 2004 at 6:12am
You have to change the Windows keyboard layout to "English" (Regions- und Sprachoptionen, Sprachen, Details).


Posted By: jimmy
Date Posted: 19 August 2004 at 6:49am
Is there another way, because we have german keyboards, and won't change the Windows keyboard layout.

    Jimmy



Posted By: Sven
Date Posted: 19 August 2004 at 8:03am

No. See remarks of GetKeyNameText in MSDN:

The format of the key-name string depends on the current keyboard layout. The keyboard driver maintains a list of names in the form of character strings for keys with names longer than a single character. The key name is translated according to the layout of the currently installed keyboard, thus the function may give different results for different input locales. The name of a character key is the character itself. The names of dead keys are spelled out in full.




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