tags:

views:

45

answers:

1

How would you go about assigning a custom shortcut in C# to a Menu item? Right now, it looks like it only uses what is available in the Windows.Forms.Shortcut enum. The combination that I want, Ctrl + DownArrow, is not available.

Thanks.

Chris

For those interested in the answer, here it is:

I specified the shortcut(s) in the code-behind for my form.

Ctrl + Up Arrow - (Shortcut)0x20026

Ctrl + Down Arrow - (Shortcut)0x20028

Ctrl + Left Arrow - (Shortcut)0x20025

Ctrl + Right Arrow - (Shortcut)0x20027

A: 

Never mind, figured it out.

Chris
Can you post how it was done, others would like to know.
Scott Chamberlain
then you should edit your original question instead of answering it. And you should also write how did you managed to solve it, so in the future one could find the solution here.
Gacek
With over 25 questions and an accept rate below 50% we're asking for alot...
Nate Bross