Intermec Janus 2020 Reference Manual - Im_Get_Viewport_Lock
im_get_viewport_lock
3-40
im_get_viewport_lock
Purpose:
This function retrieves the current setting of the viewport lock. When the
display is in 80X25 mode, you can use the viewport in virtual display mode
unless the currently running application program restricts it. The
application program may require the viewport to be locked or unlocked.
Syntax:
With Intrmecd_IO, Intrmecp_IO;
Use Intrmecd_IO, Intrmecp_IO;
procedure im_get_viewport_lock (
viewport_lock_status : OUT IM_CONTROL;
status_code : OUT System.Word);
IN Parameter:
None.
OUT Parameter:
The viewport_lock_status parameter is one of the following constants:
IM_ENABLE
Viewport is locked
IM_DISABLE
Viewport is unlocked
The status_code is one of the standard status codes defined in Appendix A,
“Status Codes.”
Return Value:
None.
Notes:
The display must be in 80X25 mode (see im_set_display_mode) to use this
function.
This function has no effect on the JANUS 2050.
When the viewport is “locked,” the viewport movement keys do not move
the viewport. The viewport can still move if follow-the-cursor mode is
enabled.
See Also:
im_set_viewport_lock, im_set_display_mode, im_get_display_mode