Hello people, how are you I hope fine.
I'm trying to set the Espace key (char 27) as a shortkey in a ToolStripMenuItem in the Visual Studio 2005, through the Shortcutkey property.
But the VS says that: "The value of argument 'value' (27) is invalid for Enum type 'Keys'. Parameter name: value"
Is this a bug Or is it not possible to do
Thanks
Andre

Why can't I use the Escape Key as shortcut?
Jon Gonzales
However, I think that a better error message should be displayed, rather than just the default InvalidEnumArgumentException message.
Perhaps report a suggestion on the Microsoft Product Feedback Center.
Kamran Sorathia
But that is not all of it. The 2nd issue is the display of the ESC. How do we display 'ESC' in the toolstrip The nice right justified display of the ESC (and PgUp, PgDn, etc.) is all we want.
MoinKhan
I think we cant do that : )