steele@unc.cs.unc.edu (Oliver Steele) (01/24/88)
I have a progam that uses popup menus, and I'd like to be able to run it on older Systems (circa 3.2). I've written a fake PopupMenuSelect() which sometimes works fine, but sometimes the menu will be drawn with the wrong item initially hilighted (items 1 and 2 will be inverted, with the mouse over item 1, and when you move the mouse to item 2 then neither is inverted), and sometimes the menu items will be scrolled off the menu so that it looks like this, \v/ -------------- ---------- | <up arrow> | | item 1 | | item 1 | | item 2 | -------------- ---------- although they all fit once you scroll them back on: ^ . I've tried setting TopMenuItem and AtMenuBottom to -1, since this seems to be what the Menu Manager does, but this doesn't do the trick. Does anyone know what I'm doing wrong, or has anyone gotten this to work? ---------------------------------------------------------------------------- Oliver Steele ...!{decvax,ihnp4}!mcnc!unc!steele steele@cs.unc.edu "What is L-marked? Theta-marked. I mean, the mind boggles at the idea of a VP being theta-marked!" -- Gary Hendrick