InfoConnect VBA Guide
Attachmate.Reflection.Objects.Emulation.IbmHosts Library / KeyboardMapper Object / Contains_2 Method
The Keys enumeration value that specifies the key sequence to query for.
Indicates whether this key is an extended key. For IBM Enhanced 101- and 102-key keyboards, extended keys are the right ALT and the right CTRL keys on the main keyboard; the INS, DEL, HOME, END, PAGE UP, PAGE DOWN, and arrow keys to the left of the numeric keypad; and the slash (/) and ENTER keys in the numeric keypad.
In This Topic
    Contains_2 Method (KeyboardMapper)
    In This Topic
    Returns whether the current keyboard map has a mapping for a specified key combination.
    Syntax
    expression.Contains_2( _
       ByVal key As Keys, _
       ByVal isExtendedKey As Boolean _
    ) As Boolean
    where expression is a variable that represents a KeyboardMapper Object

    Parameters

    key
    The Keys enumeration value that specifies the key sequence to query for.
    isExtendedKey
    Indicates whether this key is an extended key. For IBM Enhanced 101- and 102-key keyboards, extended keys are the right ALT and the right CTRL keys on the main keyboard; the INS, DEL, HOME, END, PAGE UP, PAGE DOWN, and arrow keys to the left of the numeric keypad; and the slash (/) and ENTER keys in the numeric keypad.

    Return Value

    True if the current keyboard map contains a mapping for key, false if not.
    See Also