Context Menu Keyboard Shortcuts - MDI Forms

Is it possible to assign shortcut keys to context menus in an MDI application? Is KeyPreview needed?

I've tried without success to get this to work so I'm turning to EE!

Thanks!
mitchvincentAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bob LearnedCommented:
When you define the ContextMenu, there should be a ShortCut property for each menu item.

Bob

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mitchvincentAuthor Commented:
Right, I've assigned that and when I press the shortcut key - nothing happens. The menu items does do something when I click it, just not when I use the shortcut key
Bob LearnedCommented:
Interesting thought.  I have never wanted nor needed shortcut keys for context menus, so I didn't know that they didn't work.  I haven't been able to find a workaround, but you might be able to by previewing the key at the form level, and then checking if the context menu is visible.

Bob
mitchvincentAuthor Commented:
Thanks Bob!

It turns out they were never meant to do that. It's OK, as I'm really trying to add a shortcut key to a Skybound Rebar Toolbar (Skybound is the company). I'll award you the points as the guys at Skybound are writing in a workaround for me as we speak.

Thanks much!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.