HELPLIB.HLB  —  RTL Routines, SMG$  SMG$SET_KEYPAD_MODE
    The Set Keypad Mode routine sets the terminal's numeric keypad to
    either numeric or applications mode.

    Format

      SMG$SET_KEYPAD_MODE  keyboard-id ,flags

1  –  Returns

    OpenVMS usage:cond_value
    type:         longword (unsigned)
    access:       write only
    mechanism:    by value

2  –  Arguments

 keyboard-id

    OpenVMS usage:identifier
    type:         longword (unsigned)
    access:       read only
    mechanism:    by reference

    Specifies the virtual keyboard whose mode is to be changed. The
    keyboard-id argument is the address of an unsigned longword that
    contains the keyboard identifier.

    The keyboard identifier is returned by SMG$CREATE_VIRTUAL_
    KEYBOARD.

 flags

    OpenVMS usage:mask_longword
    type:         longword (unsigned)
    access:       read only
    mechanism:    by reference

    Optional bit mask that specifies whether the keypad is to be in
    applications or numeric mode. The flags argument is the address
    of an unsigned longword that contains the flag. Valid values for
    flags are as follows:

    0                  Keypad is set to numeric mode.
    SMG$M_KEYPAD_      Keypad is set to applications mode.
    APPLICATION
Close Help