🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #36749

Object Tree Help Wanted

#36749
From: Greg Csullog
Date: Sat, 25 Feb 1989 23:54
31 lines
1659 bytes
I have been experimenting with programming using GEM calls and I
ran into a problem I cannot resolve. I tried to set up a dialog
box as follows:

  --------------------------------------
                                       <-- Obj_Type=G_BOX
                                           Obj_Flag=NONE
                                           Obj_State=NORMAL
                                      
                                      
                      ----------------
                       Click Here     <-- Obj_Type=G_BOXTEXT
 --------------------------------------      Obj_Flag=EXIT
                                             Obj_State=NORMAL

The G_BOX object is the ROOT where:

     Obj_Next=-1    Obj_Head=1      Obj_Tail=1

The G_BOXTEXT is the child where:

     Obj_Next=0     Obj_Head=-1     Obj_Tail=-1

I want to display messages within the dialog box and have the user
skip to the next message by clicking on the G_BOXTEXT object. The
problem I am having is that I cannot figure out the parent-child-
sibling relationship of the G_TEXT objects that I will have to
place within the G_BOX object. Would the new G_TEXT objects be
children of G_BOX? What values for Obj_Next, Obj_Head and
Obj_Tail would I use for these additional objects? HELP, I am
stuck!
Technical Details
Message-ID: <8902260313.AA04419@ucbvax.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!pasteur!ucbvax!AECLCR.BITNET!01659

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!pasteur!ucbvax!AECLCR.BITNET!01659
From: 01659@AECLCR.BITNET (Greg Csullog)
Newsgroups: comp.sys.atari.st
Subject: Object Tree Help Wanted
Message-ID: <8902260313.AA04419@ucbvax.Berkeley.EDU>
Date: 25 Feb 89 23:54:00 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 31