Can you show the code where the shortcut is being set?
Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph
> I have a C# form that displays a shortcut key for a MenuItem but it is
> displayed with a 'D' in front of the number: Instead of Ctrl+0 it shows
> Ctrl+D0.
>
> Any suggestions on this?
* =?Utf-8?B?RGV2ZWxvcGVy?= <Developer@discussions.microsoft.com> scripsit:
> I have a C# form that displays a shortcut key for a MenuItem but it is
> displayed with a 'D' in front of the number: Instead of Ctrl+0 it shows
> Ctrl+D0.
Can you post the relevant parts of your form's 'Sub InitializeComponent'
where the menu and its items are defined?

Signature
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/
Me - 14 Sep 2004 15:11 GMT
It doesn't matter if the menu is generated in the designer and I select
Ctrl0 for the shortcut property, or I generate the menu dynamically and add
the MenuItems in programatically.
m_miFirstItem.Shortcut = Shortcut.Ctrl0;
It also does the same thing with Alt + <number> keys as well but works fine
for ctrl/alt + <letter>.

Signature
Regards,
Srikanth Gobburu
> * =?Utf-8?B?RGV2ZWxvcGVy?= <Developer@discussions.microsoft.com> scripsit:
> > I have a C# form that displays a shortcut key for a MenuItem but it is
[quoted text clipped - 3 lines]
> Can you post the relevant parts of your form's 'Sub InitializeComponent'
> where the menu and its items are defined?
Me - 17 Sep 2004 15:51 GMT
Found it: Microsoft Knowledge Base Article - 814353
Looks like there's no cure right away.

Signature
Regards,
Srikanth Gobburu
> It doesn't matter if the menu is generated in the designer and I select
> Ctrl0 for the shortcut property, or I generate the menu dynamically and add
[quoted text clipped - 12 lines]
> > Can you post the relevant parts of your form's 'Sub InitializeComponent'
> > where the menu and its items are defined?