Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 9.0

On this page

You are viewing documentation of version 9.0, which is not included in the latest version. Click here to open the index page for version 18.0.

IKeymanHotkeys::Add

Add a hotkey definition to the product. If the product does not recognise the target value, then the target value will have no effect.

Declaration
Function Add(Value As Long, Target As Long) As IKeymanHotkey
Parameters
No Name Type Description
1 Value Long The value of the hotkey. See tagKeymanKeyboardHotkey for hotkey specification.
2 Target Long The product-specific target value for the shortcut. Keyman Engine defines: khKeymanOff = 0; khKeyboardMenu = 1; khVisualKeyboard = 2; khKeymanConfiguration = 3;
Return Value
IKeymanHotkey
Example Code