•  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.7  wdlg_get_tree                                               TOS

 Name:         »Window-dialog get tree« - Obtain object tree of the 
               window

 Opcode:       164 (sub-opcode 0)

 Syntax:       int16_t wdlg_get_tree ( DIALOG *dialog, OBJECT **tree, 
               GRECT *r );

 Description:  The call wdlg_get_tree obtains the address of the 
               object-tree displayed in the window. The following 
               apply:

                Parameter  Meaning

                dialog     Pointer to the dialog structure
                tree       Pointer to object tree
                r          Pointer to GRECT

               Note: In addition, the function returns the size of the 
               working area of the window. If the dialog size has not 
               been altered with wdlg_set_size, then the working area 
               corresponds to the GRECT of the root object.

 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_get_handle