Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!vsi1!apple!tecot From: tecot@Apple.COM (Ed Tecot) Newsgroups: comp.sys.mac.programmer Subject: Re: Strange Behavior (Bug??) in PopUpMenuSelect Keywords: PopUpMenuSelect Message-ID: <21657@apple.Apple.COM> Date: 5 Dec 88 05:08:15 GMT References: <8008@ut-emx.UUCP> Organization: Apple Computer Inc, Cupertino, CA Lines: 29 In article <8008@ut-emx.UUCP> jdm@ut-emx.UUCP (Jim Meiss) writes: > Has anyone else noticed that when a popup menu is to be >drawn near the top or bottom of the screen, >then the menu rectangle has a blank part. >E.g. near the top of the screen you'd get this: > ------------------- <-Top of screen > | ^ | > |Item 3 | > |Item 4 | >Selection Point |Item 5 | > | | > | | > | | > -------- <-Lower bound of Menu Box > >This happens in my own code, and I also found commercial >applications (i.e. Pagemaker 3.0) which do this, so it >seems to me to be a bug in System 6.0.2. > Sure looks wierd even if one wouldn't call it >a bug... It's not a bug, it's not even a feature. It's the way it has to work. Think about it. When a menu pops up, a certain item must appear under the mouse. If there is not enough room to do that without clipping the menu, the menu must scroll. However, the menu MUST reserve enough space to bring the entire menu into view if the user scrolls it, hence the blank space below or above. _emt