3-4SectionDisplay and Control of Windows
312
Reference:  When a window control area is allocated words in the host, window screen
number and the bottom left coordinate of the window that is opened are noti-
fied to the window control area. (Refer to page 312)
Also, window open status bit of the corresponding window type in PT status
notify area goes ON. (Refer to page 312)
 When NT20S or NT30/620 compatible mode is being used, the word contain-
ing the PT status notify bits is shifted down one word. (Refer to page 451.)
3. When the screen is switched to others, the window is closed.
3-4-2 Checking the Display Status of a Window
PT has a function to notify the open/close status of a window, the screen number
and the position of presently displayed window to a host when the display status
of a window is switched.
It is possible to know the occurrence of opening/closing of a window, window
screen number and the display position from the host by the following method.
• Reading out the contents of PT status notify area and PT status control area
Reference: When NT20S or NT30/620 compatible mode is being used, the word containing
the PT status notify bits is shifted down one word. (Refer to 451.)
Reading Out the Contents of PT Status Notify Area and PT Status Control Area
Display status of a window is always written to the following areas
Opening/Closing status of a window:
Window open status in PT status notify area
Screen number of a presently displayed window:
Window screen number in window control area
Position of a presently displayed window (bottom left coordinate):
X coordinate and Y coordinate in window control area
The PT status notify area must be allocated words in the host. No special set-
tings are required for the control of a window.
To use a window control area, allocate words for the window control area in the
host when creating a screen using the Support Tool.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Bit
Screen No. (4-digit BCD or hexadecimal)
X coordinate (4-digit BCD or hexadecimal)
Y coordinate (4-digit BCD or hexadecimal)
Screen No. (4-digit BCD or hexadecimal)
X coordinate (4-digit BCD or hexadecimal)
Y coordinate (4-digit BCD or hexadecimal)
Screen No. (4-digit BCD or hexadecimal)
X coordinate (4-digit BCD or hexadecimal)
Y coordinate (4-digit BCD or hexadecimal)
Word
k
k+1
k+2
k+3
k+4
k+5
k+6
k+7
k+8
Global window
Local Window1
Local Window2
To check the display status of a window, operate as follows:
Setting
Operation