Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!rutgers!ukma!psuvm.bitnet!rice.bitnet!storkel From: STORKEL@RICE.BITNET (Scott Storkel) Newsgroups: comp.sys.mac Subject: Re: MenuBar in HyperCard Message-ID: <108STORKEL@RICE> Date: Tue, 8-Sep-87 14:53:01 EDT Article-I.D.: RICE.108STORKEL Posted: Tue Sep 8 14:53:01 1987 Date-Received: Thu, 10-Sep-87 01:39:03 EDT References: 1109@ark.cs.vu.nl Organization: Rice University - ICSA Lines: 22 Currently, I know of no way to alter the menu bar directly from Hypertalk. It SHOULD, however, be possible to do this by writing and external command or function (see discussion of XCMD and XCFN resources). The external code would have to change the menu bar, handle processing of commands, and return a result to the Hypertalk script. I'm not sure what kind of ramifications would be involved with disabling the normal Hypercard menus, so be careful. It would also seem that making a stack menu driven would be a pain in the neck, if there isn't a way to pass events on to Hypercard for processing. Example: If you're not in the menu processing code, then the menu does nothing. If you are, then card buttons get ignored by your menu routine. I don't have any docs for XCMD's and XCFN's yet, so I'm not sure if this is a problem or not. Scott Storkel Rice University Macintosh Software Development Team (STORKEL@RICE.BITNET)