Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!asuvax!stjhmc!p12.f56.n114.z1.fidonet.org!Chris.Gehlker From: Chris.Gehlker@p12.f56.n114.z1.fidonet.org (Chris Gehlker) Newsgroups: comp.sys.mac.programmer Subject: Re: Menu Mangler & ThC 4.0 Nightmare Message-ID: <33174.27759EBE@stjhmc.fidonet.org> Date: 24 Dec 90 06:20:28 GMT Sender: ufgate@stjhmc.fidonet.org (newsout1.26) Organization: FidoNet node 1:114/56.12 - AZ MAC UG, Phoenix AZ Lines: 14 DPO> The menu manager reads the menu resource into memory, then modifies DPO> it. If the resoure is purged, the reread, these necessary modifications DPO> will not have been done on the new copy, and your program will DPO> crash. What you can do is, preserve the state of the menu, when DPO> it is good, in another handle, then reset it later. I use a routine DPO> like BlockMove, that makes one handle match another. Why all the BlockMove stuff? What's wrong with HandToHand? -- Uucp: ...{gatech,ames,rutgers}!ncar!asuvax!stjhmc!56.12!Chris.Gehlker Internet: Chris.Gehlker@p12.f56.n114.z1.fidonet.org