Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Accelerator & Menu Item
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Accelerator & Menu Item

 Post Reply Post Reply
Author
Message Reverse Sort Order
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 Topic: Accelerator & Menu Item
    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.

Back to Top
jimmy View Drop Down
Senior Member
Senior Member


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 515
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post 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

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: 19 August 2004 at 6:12am
You have to change the Windows keyboard layout to "English" (Regions- und Sprachoptionen, Sprachen, Details).

Edited by Sven
Back to Top
jimmy View Drop Down
Senior Member
Senior Member


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 515
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post 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

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.297 seconds.