[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Heirarchical menus selection
- To: osiris@cs.utexas.edu
- Subject: Re: Heirarchical menus selection
- From: bill@cambridge.apple.com (Bill St. Clair)
- Date: Wed, 28 Jul 1993 10:49:53 -0500
- Cc: info-mcl@ministry.cambridge.apple.com, will@aristotle.ils.nwu.edu (William Fitzgerald)
At 1:08 PM 7/28/93 +0000, William Fitzgerald wrote:
>osiris@cs.utexas.edu wrote:
>: Is there any (simple) way do detect the selection of a heirarchical menu as
>: opposed to the selection of one of the items that it contains? I notoced
>: that there is nothing equivalent to menu-item-action for menus.
>
>: Thanks.
>
>: P.S. I know that this is not exactly kosher interface behavior, but in this
>: case I think that it makes sense...
>
>The standard trick is to put the hierarchical menu as also the first
>of the items of its selection.
>
>For example, here 'Cats' is pulled down:
>
>[ Dogs -> ]
>[ Cats ->[ Cats ]
>[ Pigs ->[ Cats with hats ]
> [ Cats with mats ]
And this is the only choice since #_MenuSelect returns 0 if you
select a hierarchical menu.