•  Back 
  •  Window-dialogs 
  •  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.8.1  wdlg_close                                                  TOS

 Name:         »Window-dialog close« - Close a window-dialog

 Opcode:       162

 Syntax:       int16_t wdlg_close ( DIALOG *dialog, int16_t *x, 
               int16_t *y );

 Description:  The function wdlg_close closes the window-dialog 
               dialog. The following apply:

                Parameter  Meaning

                dialog     Pointer to the dialog structure
                x          Last X-coordinate, and
                y          Last Y-coordinate of the dialog's top left 
                           corner

               Note: Old WDIALOG versions do not return the window 
               coordinates. In that case the binding enters -1, so 
               that the dialog will be centred automatically at the 
               next call.

 Return value: The function always returns the value 1.

 Availability: The presence of this call should be checked for using 
               appl_getinfo (Opcode 7).

 Group:        Window-dialogs

 See Also:     Binding   wdlg_open