# GH_MenuShortCutWrapper class

Namespace: [Grasshopper.GUI](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.gui.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public sealed class GH_MenuShortCutWrapper
```

Utility class for handling menu shortcuts in non-modal Windows.Forms dialogs.

## Methods

- [GenerateShortcutCommand](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-menushortcutwrapper/generateshortcutcommand.md): (static) Call this function to test all menu items for short-cut matches. If the shortcut key-combo in the keyCode enumeration can be matched to a menu item, the PerformClick() method on that item will be called. Disabled and hidden items will be skipped entirely.
