On a related note, I would recommend checking the MDEF ID with ResEdit on all of your project menus. I used to get this with some menu resources that I was using for popup menus in a PG project. The MDEF ID would get corrupted, and would exhibit strange problems. Chris Young On Friday, March 24, 2000 1:04 AM, David.Cottrell@... [SMTP:David.Cottrell@...] wrote: > >> >>I've run into a problem with the menus not working properly. Most of the > >> >>time when I select something from the menu bar, the menu highlights but > >> >>nothing happens. > >> > >> >I had a similar problem a few years ago as the result of more than one > >> >HandleEvents within the program. > > > > > >Most of the time, this comes from a bad MDEF. It can happen if you ... > > > >Save an installed menu resource > >CALL GETMENU more than once on a single menu > >CALL DISPOSEMENU without calling DELETEMENU > >Overwrite memory at the location where the menu resides > >Insert an incorrect MDEF id using ResEdit > > > > Can I get some clarity on this. > > Is it ok to call GETMENU on otherbeforemenu events or do the menu > handles need to be saved as globals? > > Thanks > > David > > -- > To unsubscribe, send ANY message to <futurebasic-unsubscribe@...> > >