Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!ucdavis!iris!lim From: lim@iris.ucdavis.edu (Lloyd Lim) Newsgroups: comp.sys.mac.programmer Subject: Re: Simulating a Menu Bar with Pop-Up Menus Message-ID: <6145@ucdavis.ucdavis.edu> Date: 4 Dec 89 20:52:20 GMT References: <9095@hoptoad.uucp> <1989Nov28.053644.28100@agate.berkeley.edu> <2880@murtoa.cs.mu.oz.au> <32943@ucbvax.BERKELEY.EDU> <2884@murtoa.cs.mu.oz.au> Sender: uucp@ucdavis.ucdavis.edu Reply-To: lim@iris.ucdavis.edu (Lloyd Lim) Organization: U.C. Davis - Department of Electrical Engineering and Computer Science Lines: 39 In article <2884@murtoa.cs.mu.oz.au> rob@murtoa.UUCP (Robert Wallen) writes: >>I just checked THINK C V.4 for this. It crashed with a bus error. > >Hmmm. Its been a while, but the last time I checked (may have been on a PLUS) >it just created a real small window which had a scroll up AND a scroll down >arrow and no entries ... I just checked this on my IIcx with 6.0.3 and it doesn't crash either. An INIT might have caused this crash? >>It is undoubtedly a bug in Apple's code. > >Yeh? Why? I mean sure the standard MDEF doesnt work quite the way I want it >to but I have never had it crash with bus errors or address errors... >Id blame Symantec before Apple on this one. I agree since Symantec's MDEF is doing things to Apple's MDEF that wouldn't ever happen normally. >>On the other hand, my custom MDEFs have never had an problem with this. > >My biggest object to writing my own MDEF (which is basically a copy of MDEF-0) >is that I cant track Apples changes to the system. I dont have a color Mac >(just an SE/30 :-) and so its 'real hard' to make sure that my custom MDEF, >CDEF, etc handle all the appropriate 'mctb' thingies. I would prefer to be >able to call the 'standard' code because I know (hope) that Apple will keep it >up to date for me. If the thing you are trying to achieve is not that much different from the standard Apple supplied *DEF, total compatibility can be achieved by calling the Apple version to handle the normal stuff. I've had experience doing this with my Default CDEF and it works fine. I also get bugged by those big white empty spaces in pop-up menus so I'm writing an MDEF to fix this. It will scroll better than Symantec's and I'll release it just like the Default CDEF. +++ Lloyd Lim Internet: lim@iris.ucdavis.edu (128.120.57.20) Compuserve: 72647,660 US Mail: 146 Lysle Leach Hall, U.C. Davis, Davis, CA 95616