•  Back 
  •  Window Library 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100
View Ref-Filewind_create()
wind_open()
wind_delete()
Window Library
wind_close()                                                            AES

Syntax

WORD wind_close( handle )
WORD handle;

Function       wind_close() removes a window from the display screen.

Opcode         102 (0x66)

Availability   All AES versions.

Parameters     handle specifies the window handle of the window to close.

Binding        intin[0] = handle;

               return crys_if(0x66);

Return Value   wind_close() returns 0 if an error occurred or non-zero
               otherwise.

Comments       Upon calling wind_close() a redraw message for the portion
               of the screen changed will be sent to all applications.
               Calling wind_close() does not release the memory allocated
               to the window structure. wind_delete() must be called to
               permanently destroy the window and free any memory
               allocated by the AES for the window. Until wind_delete() is
               called, the window may be re-opened at any time with
               wind_open().

See Also       wind_create(), wind_open(), wind_delete()

Group          Window Library