home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!Germany.EU.net!uni-muenster.de!pascal!kuehn
- From: kuehn@math.uni-muenster.de (Ulrich Kuehn)
- Newsgroups: comp.sys.atari.st.tech
- Subject: Re: drop down menus in GEM
- Message-ID: <1h6pbiINNg72@obelix.uni-muenster.de>
- Date: 22 Dec 92 10:06:42 GMT
- References: <hjv.724944923@groucho.phil.ruu.nl>
- Reply-To: kuehn@math.uni-muenster.de
- Organization: Westf. Wilhelms-Universitaet Muenster, Germany
- Lines: 33
- NNTP-Posting-Host: pascal.uni-muenster.de
-
- In article 724944923@groucho.phil.ruu.nl, hjv@phil.ruu.nl (Hendrik Jan Veenstra) writes:
- >hohmuth@freia.inf.tu-dresden.de (Michael Hohmuth) writes:
- >>
- >>Please, don't do that. This assumes that AES uses the same copy of the object
- >>tree that you use, which is not documented. That's also why menu manipulation
- >>services are provided by the AES.
- >
- >>Stick to menu_icheck for this!
- >
- >Huh? One loads the rsc with rsrc_load, gets the address of the menu with
- >rsrc_gaddr and then displays the menu with menu_bar -- and you claim that
- >it's possible that the AES uses *another* copy of the menu than the one
- >pointed to by the OBJECT* one gets from rsrc_gaddr??? Is this true? Wouldn't
- >that be _very_ strange?
- >Just curious... (and never having had problems with the ob_flags method).
- >
- Have you thought of a networking extension to GEM? Who do you think will draw
- a menu, when the used screen is on another machine somewhere over the net?
- The screenmanager there must at least have a copy of the objects to draw,
- so changing simply the object's flags is not enough, you have to set up the
- menu again by menu_bar, or use menu_icheck at all.
- You are right when you say that your method worked for all the AES's seen
- so far, but this behavior is not documented and will break when there is a
- networking AES. So please reconsider your method.
-
- Ulrich
-
- ---
-
- +---------------+----------------------------+-------------------------+
- | Ulrich Kuehn | Internet: | Do they know that they |
- | Cand.Math.Inf | kuehn@math.uni-muenster.de | cannot eat their money? |
- +---------------+----------------------------+-------------------------+
-