shiftwindow

BAP Online Manuals : Library Reference : Library by Name : shiftwindow
Previous: set_id
Next: str_char

6.2.124. shiftwindow

sets the current window or returns its handle

SYNOPSIS

INCLUDE 'iolib.h'
shiftwindow(WinHandle)
shiftwindow(handle)

SYNTAX

shiftwindow(WinHandle) (i)

ARGUMENTS

handle(WinHandle) (i) Handle of the window that is to be made the current one
handle(WinHandle) (o) Handle of the current window

DESCRIPTION

If Handle is bound, shiftwindow makes the associated Window the current window. The input and output streams are set to this window. The input focus of the host is set to this window if the host servers operation system allows that. If you do want the input focus changed, you would have to use gotowindow () instead.

ERRORS

A runtime error occurs if WinHandle is bound but invalid.

LAYERS

prolog-process, client-server, object

RELATED PREDICATES

makewindow , gotowindow , removewindow , clearwindow , writedevice , readdevice


BAP Online Manuals : Library Reference : Library by Name : shiftwindow
Previous: set_id
Next: str_char