Description
Call PSCShortCutFromKeyDef to create a menu shortcut at runtime. KeyDef determines a KeyCode and ShiftState pair. KeyCode value determines a virtual key code. Specify determines the state of Shift, Control, and Alt keys. Returned value can be assigned to the value of the ShortCut property of a menu item.