Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!gem.mps.ohio-state.edu!swrinde!ucsd!nosc!cod!kirkb From: kirkb@cod.NOSC.MIL (Kirk Baker) Newsgroups: comp.sys.amiga.tech Subject: Re: Popup menus? Summary: I have some, if anyone wants them... Message-ID: <1676@cod.NOSC.MIL> Date: 19 Oct 89 21:37:12 GMT References: <8910191430.AA06298@decwrl.dec.com> Reply-To: kirkb@cod.nosc.mil.UUCP (Kirk Baker) Organization: Bonehead Research Lines: 21 [] I have some popup-menu routines that I wrote last May. They take an Intuition menuitem list, and will render a menu on the screen that looks nearly identical to a real Intuition menu, except that they don't crash if they are too big, and they don't have to be attached to the menubar. If a user brings up the menu too close to an edge, the menu will be 'slid' over to fit on the screen. It supports images, multiple intuitext's, and disabled items. I have tried all kinds of things, like 2-d arrays of items, long intuitext's, etc. and all thus far have worked. NOTE: my routines do not yet handle mutual exclusion, or checkitems, but someone could add them if they wish (the code is well commented). The code is reentrant, and would be a perfect addition to someone's library. Mail me if you want them, and if there are too many responses, I will post them. If anyone has any suggestions for posting places, then please let me know. Kirk ============================================================================ Kirk A. Baker, Bonehead Research. kirkb@cod.nosc.mil.UUCP