VMS Help
RTL Routines, SMG$, SMG$SET_KEYPAD_MODE
*Conan The Librarian (sorry for the slow response - running on an old VAX)
|
|
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
OpenVMS usage:cond_value
type: longword (unsigned)
access: write only
mechanism: by value
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
[legal]
[privacy]
[GNU]
[policy]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.