•  Back 
  •  Main 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The GFA-Basic Compendium
Author      : GFA Systemtechnik GmbH
Version     : GFABasic.HYP v2.98 (12/31/2023)
Subject     : Documentation/Programming
Nodes       : 899
Index Size  : 28056
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Document not found
@help       : Help
@options    : +g -i -s +z
@width      : 75
@hostname   : STRNGSRV
@hostname   : CAB     
@hostname   : HIGHWIRE
@hostname   : THING   
View Ref-FileMENU_BAR(tree,flag)

tree, flag: iexp

Displays or erases a menu bar (loaded from a Resource file). Compare to MENU
x$() and MENU KILL.

Returns 0 if an error occured.

    tree - Address of the menu object tree.
    flag - -1: MENU_INQUIRE  Inquire AES application identifier of the process
                             which owns the currently displayed menu bar.
                             Should be locked with WIND_UPDATE() during the
                             inquire as it can change at any moment. (AES 4.0)
            0: MENU_REMOVE   Erase menu bar (happens automatically at the end
                             of a program).
            1: MENU_INSTALL  Display menu bar.
            3: MENU_GETMODE  Get menu bar mode. (NAES)
                             Menu bar modes:
                               MENU_HIDDEN:   bit #0
                               MENU_PULLDOWN: bit #1
                               MENU_SHADOWED: but #3
            4: MENU_SETMODE  Set menu bar mode. (NAES  not implemented)
            5: MENU_UPDATE   Update system part of menu bar (NAES intenral)

menu_bar()+