•  Back 
  •  Window library 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - The Operating System
Author      : 
Version     : tos.hyp (December 19, 2008)
Subject     : Programmieren/Atari
Nodes       : 3010
Index Size  : 93790
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Title
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File8.9.9  wind_open                                                   TOS

 Name:         »Open window« - Opens a window.

 Opcode:       101

 Syntax:       int16_t wind_open ( int16_t wi_ohandle, int16_t wi_owx, 
               int16_t wi_owy, int16_t wi_oww, int16_t wi_owh );

 Description:  The call wind_open displays a window on the screen. The 
               following apply:

                Parameter   Meaning

                wi_ohandle  ID of the window to be opened
                wi_owx      X-coordinate, and
                wi_owy      Y-coordinate of top left corner,
                wi_oww      Width, and
                wi_owh      Height of the window

               Note: The window must have been created beforehand with 
               wind_create. The components title-bar, info-line and 
               slider must have been set previously with a call of 
               wind_set.

               When specifying the coordinates -1,-1,-1,-1 for MagiC 3 
               onwards, the window will be placed at the next free 
               position for iconifiable windows.

 Return value: An error has arisen only if the value 0 is returned.

 Availability: All AES versions.

 Group:        Window library

 See Also:     Binding   wind_create   wind_close   wind_set