Path: utzoo!attcan!uunet!cs.utexas.edu!swrinde!ucsd!network.ucsd.edu!weber.ucsd.edu!pbiron From: pbiron@weber.ucsd.edu (Paul Biron) Newsgroups: comp.sys.next Subject: example menu code wanted Keywords: adding menu cells on the fly? Message-ID: <3010@network.ucsd.edu> Date: 30 Sep 90 01:34:19 GMT Sender: news@network.ucsd.edu Reply-To: pbiron@weber.ucsd.edu (Paul Biron) Organization: Division of Social Sciences, UCSD Lines: 37 Nntp-Posting-Host: weber.ucsd.edu Hi all, I'm having a little trouble coding something, and need some help. Here's the situation: I'm trying to add menu cells to a submenu (of a submenu) on the fly. From reading the Spec Sheets I can't figure out how to do it. The kind of thing I'm trying to do is like the "Activate" menu in so many apps that are out there. e.g. ------------ | Info | ------------ | File >| ------------ ----------------- | Submenu >| | Add a| ------------ ----------------- | Hide h| | Remove r| ------------ ----------------- | Quit q| | Sub-Sub menu >| ------------ ----------------- and every time the user choses the "Add" cell, I do a little processing and add another cell to "Sub-Sub menu" (and "Remove" should be able to remove one such cell). Could some kind soul please send me some example code which does this? (Note, I can't get NeXT-mail at the address below). Thanx, Paul Biron pbiron@ucsd.edu (619) 534-5758 Central University Library, Mail Code C-075-R Social Sciences DataBase Project University of California, San Diego, La Jolla, Ca. 92093