Wrong shortcut displayed - Ctrl+D0

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?= said:
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?
 
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>.
 
Found it: Microsoft Knowledge Base Article - 814353

Looks like there's no cure right away.

--
Regards,
Srikanth Gobburu

Me said:
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>.
 
Back
Top