Path: utzoo!attcan!uunet!amara!orenda!des From: des@orenda.amara.uucp (Dave Steinhoff) Newsgroups: comp.sys.mac.programmer Subject: Hierarchical menu question Message-ID: Date: 27 Apr 89 17:33:44 GMT Sender: des@amara.UUCP Distribution: na Organization: Applied Dynamics Int'l Lines: 29 I am currently developing an application that requires a large number of menus. The hierarchical menu mechanism is ideal to help me shrink the number of distinct menus I need by having many 'paths' through the menus end up at the same final menu (a DAG). However, I also need to know what the intermediate selections were along the way in order to distinguish special cases. So, for example: menu 101 menu 102 menu 103 +---------+ +---------+ +---------+ | a |----- | e | | h | | b | \----->| f |----------->| i | | c | | g | +---------+ | d | +---------+ +---------+ ...returns from MenuSelect a longword result of integer pairs 103/2. I would also like to capture the pairs 101/1, 102/2. Does anyone know if the standard menu defproc can be twiddled to give me this information? Thanks for any help, Dave -- ------------------------------------------------------------------- Dave Steinhoff Applied Dynamics International des@amara.UUCP 3800 Stone School Rd. ...uunet!amara!des Ann Arbor, Mi 48108 -------------------------------------(313)973-1300-----------------