•  Back 
  •  Menu 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.15.6  menu_istart                                                TOS

 Name:         »Menu istart« - Align a submenu entry.

 Opcode:       38

 Syntax:       int16_t menu_istart ( int16_t flag, OBJECT *tree, 
               int16_t imenu, int16_t item );

 Description:  The call menu_istart enables the alignment of a submenu 
               item vertically with the corresponding entry of the 
               parent (main) menu. The following apply:

                Parameter  Meaning

                flag       1 = Align, 0 = Don't align
                tree       Address of the menu object tree
                imenu      Index of the submenu entry that is to be 
                           aligned
                item       Index of the menu entry with which the 
                           submenu is to be associated

 Return value: An error has arisen only if the value 0 is returned; a 
               positive number is the object index of the submenu item 
               currently aligned with its parent menu entry.

 Availability: This function is available only with AES versions 3.30 
               and above.

               The presence of this function can be ascertained with a 
               call of appl_getinfo (opcode 9).

 Group:        Menu library

 See Also:     Binding   menu_attach   XMEN_MGR