Property popupMenu.KeyboardHook
Overload
Gets or sets callback function that decides how to respond to pressed keys (default, close, ignore, block).
public Func<popupMenu, HookData.Keyboard, PMKHook> KeyboardHook { get; set; }
Property Value
Remarks
The function is called on each key down event while the menu is open. Only if current thread is not in the foreground. To block a key, call HookData.Keyboard.BlockEvent. The function must be as fast as possible.