Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!mips!cs.uoregon.edu!gla-aux.uucp!glenn From: glenn@gla-aux.uucp (Glenn Austin) Newsgroups: comp.sys.mac.programmer Subject: Re: How do you make the little 'down'-arrows in pop-up menu boxes? Message-ID: <0E010021.sv4hwa@gla-aux.uucp> Date: 21 May 91 23:04:18 GMT Reply-To: glenn%gla-aux.uucp@skinner.cs.uoregon.edu Organization: The Pit Lane Lines: 23 X-Mailer: uAccess - Mac Release: 1.0.4a In article <1756@babcock.cerc.wvu.wvnet.edu>, vrm@blackwater.cerc.wvu.wvnet.edu (Vasile R. Montan) writes: > I understand that the user interface guidelines for pop-up menus have > been revised. Originally, the menu box simply had a 2 pixel 'shadow'; > now, it is supposed to have a little arrow that points down to the > right of the text in the menu box. > > So how is this little arrow generated? I suppose it wouldn't be too > hard to draw it by brute force (by calling the appropriate QuickDraw > routines), but this involves the hassle of calculating the string > length, etc. Is there some easier way to generate the arrow? The simple answer is -- use the built-in popup control definition! It makes life simpler, and makes it easier if Apple decides to change the user interface of popups in the future. =============================================================================== | Glenn L. Austin | "Turn too soon, run out of room. | | Macintosh Wizard and | Turn too late, much better fate." | | Auto Racing Driver | -- Jim Russell Racing School Instructors | |-----------------------------------------------------------------------------| | Usenet: glenn@gla-aux.uucp | CI$: 76354,1434 | | GENie: G.AUSTIN3 | AOnline: GAustin | ===============================================================================