Joe Lewis Wilkins wrote: > Hi Alain, > > Alain Pastor wrote: > > > Joe Lewis Wilkins wrote: > > > > > Hi Guys; Here's a real good one! > > > > > > For the Apple Menu: > > > > > > In the LOCAL FN doMenu: > > > In one Program, menuID% = MENU (_menuID) produces a value of 254. > > > In a second Program, it produces a value of 127 (the one I thought it should > > > be) > > > > > > I can't see any place where my set up code is any different. > > > > > > In the first one, everything is "apparently" fine, and no extraneous beeps are > > > generated. > > > In the second, the only way I can get the About to be selected at all is to > > > use > > > IF menuID% = 127 then menuID% = 254; > > > which calls the appropriate routine, but gives me an extra beep; AND when I > > > close the Dialog, I get an extra couple of beeps. Also it was crashing on me > > > until I upped the memory with a SYSTM 600000 call at the start. This is using > > > the Scrolling About "we" developed for use in "the Book". In fact, the "first > > > one" I referred to IS "the Book"; the second is a private application upon > > > which I am also working. > > > > > > Both programs are using similar, scrolling About Dialogs. > > > > > > Any clues? TIA, > > > > > > > Hi Joe, > > > > Don't know if it will help, but in the Ref manual under the menu function, it > > reads that if you install your Apple menu via an MBAR resource the constant to > > check is _appleResMenu which is 127 otherwise it is 254 (the value of > > _appleMenu). > > Thanks, that would appear to answer my question; although I'm still disturbed by > all of the beeps. The Program that's doing the beeping didn't have a MBAR > Resource, so I created one. Still beeps as before. I did set up the Menus a bit > differently. All of the menus in the 127 program are Resources. Most in the other > one are not. Am I correct in assuming that Andy G. has put beeps in the Runtime > where things are going wrong? This isn't my first "beeping" experience!!! <smile> > Hi Joe, There are a lot of beeps scattered all over the runtime, perhaps you have collected them all for you alone ;-) I've no idea why the beeps, it is even more difficult without seeing code. I suppose you have checked that your about box is not an alert resource which can automatically trigger a beep and sometimes more than one I think. Cheers Alain