Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!uw-beaver!zephyr.ens.tek.com!tektronix!reed!glacier!busker!f20.n226.z1.FIDONET.ORG!Leonard.Rosenthol From: Leonard.Rosenthol@f20.n226.z1.FIDONET.ORG (Leonard Rosenthol) Newsgroups: comp.sys.mac.programmer Subject: Re: 'mctb' and DA's Message-ID: <651.2783DF0D@busker.fidonet.org> Date: 28 Dec 90 02:05:00 GMT Sender: ufgate@busker.fidonet.org (newsout1.26) Organization: FidoNet node 1:226/20 - cmhGate UF Gateway, Columbus OH Lines: 32 Reply-To: leonardr@svc.portal.com In article <1993@asuvax.asu.edu>, system@asuvax.asu.edu (Marc Lesure) writes: > I have a DA which adds a menu item to the current menu bar. I'd like > the new menu item to be a different color than the rest of the bar, so > I added a 'mctb' resource to it. The problem I have is that the Font/DA > mover resequences the resource numbers of the mctb resource but its internal > data. In other words, once I've added my DA to the system the mctb menu > item no longer points to my menu bar. Does anyone have a solution to this > other than using ResEdit to correct the problem after installing the DA? > > Can the DA itself modify/correct this resource when it's first invoked? How? > I don't see anyway that you will able to solve the problem using an 'mctb' resource due to the problems you've just described, however you may want to consider manually setting the menuColorTable using such calls as SetMCEntries and SetMCInfo (IM V, pg. 239). Hope that helps. -- ---------------------------------------------------------------------- + Leonard Rosenthol I Internet: leonardr@sv.portal.com + + Software Ventures I GEnie: MACgician + + MicroPhone II Development Team I AOL: MACgician1 + ---------------------------------------------------------------------- + Organization: Software Ventures Corporation. -- Leonard Rosenthol - via FidoNet node 1:105/14 UUCP: ...!{uunet!glacier, ..reed.bitnet}!busker!226!20!Leonard.Rosenthol INTERNET: Leonard.Rosenthol@f20.n226.z1.FIDONET.ORG