Home All Groups Group Topic Archive Search About

Testing MenuItem.Shortcut with KeyEventArgs for equality.

Author
15 Dec 2005 6:16 PM
Valerie Hough
Is there a clean way of testing whether a MenuItem.Shortcut is equal to a
value typed at the keyboard?

What I want to do is be able to see if a menu item shortcut was typed while
the menu item is disabled. I can think of some brute force methods, but I
hoped that Convert or some other class would do the trick.

Thanks in advance.
Valerie Hough

AddThis Social Bookmark Button